04 2011 档案
摘要:◆ 安装和登录命令:login、shutdown、halt、reboot、install、mount、umount、chsh、exit、last;◆ 文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln;◆ 系统管理相关命令:df、top、free、quota、at、lp、adduser、groupadd、kill、crontab;◆ 网络操作命令:ifconfig、ip、ping、netstat、telnet、ftp、route、rlogin、rcp、finger、mail、 nslookup;◆ 系统安全相关命令:passwd、su、umask、
阅读全文
摘要:Assembly myAssembly = Assembly.GetEntryAssembly(); string path = myAssembly.Location; DirectoryInfo dr = new DirectoryInfo(path); path=dr.Parent; //当前目录的上一级目录System.Environment.CurrentDirectory;//例: c:\testApplication.ExecutablePath;(包括名称)//例: c:\test\myapp.exeApplication.StartupPath;(不包括名称)//例: c:\
阅读全文