11、ps
显示当前process或文件系统process状况
可用参数 –a,-u,-x,-w
12、kill
结束一个进程,配合ps使用,kill pid(进程号)
13、tar
文件压缩、解压缩 tar –cf aa.tar aa 把aa压缩成文件aa.tar
tar –xf aa.tar 解压缩aa.tar为aa
14、ftp
连接其他机器进行文件传输,用法:ftp 172.20.2.111(或机器名)
然后登录,用户名、密码
15、get /mget
ftp后从其他机器拷贝文件到本机,
16、send
ftp后从本机器拷贝文件到其他机器,
以上几个使用方法:
ftp 172.20.2.111
login: xxxxx(用户名)
password:
cd /usr/appsoft/ies500u/param/ (2.111机器的目录)
lcd /usr/appsoft/abc500u/pass/ (本机路径)
get nba (拷贝gra到本机)
send nba2 (发送gra2到2.111)
bye (完成后结束连接)
若想拷贝多个匹配文件,可用:
prompt off
mget 湘* (拷贝以湘开头的所有文件)
17、chmod
更改档案模式,配合ls –l使用;chmod –f/-R mode filename
-f不理会失败的动作/ -R也改变子目录
18、ifconfig –a
查看本机ip 地址
19、netconfig
配置网络及路由
20、shutdown now /reboot,shutdown –r now
关机/重启