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、 阅读全文
posted @ 2011-04-28 21:23 yansirfuture 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: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:\ 阅读全文
posted @ 2011-04-18 14:48 yansirfuture 阅读(156) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示