我的高频Unix命令(逐渐补充...)

su
切换到另一用户

whoami(or who am i)
显示当前用户

who
查看当前在线上的用户

man  
查看其它命令的用法

cp -rf src desc
目录拷贝

rm -rf src
目录删除

mkdir -m777 oralce/apps –p
创建多层目录

emacs  
启动emacs编辑器

netstat  
显示网络状态

vmstat  
显示虚拟内存状态

iostat  
显示输入/输出状态

echo  
将字符串写入到标准输出

ping

测试网络,ping不仅仅是windows下的命令,在unix和linux下也有这个命令


more

多屏文件查看


which/whereis
Basically, whereis searches for "possibly useful" files, while which only searches for executables.
I rarely use whereis. On the other hand, which is very useful, specially in scripts. which is the answer for the following question: Where does this command come from?
$  which ls
/bin/ls
$  whereis ls
ls: /bin/ls /usr/share/man/man1p/ls.1p.bz2 /usr/share/man/man1/ls.1.bz2


wget

wget ftp://asacftp01.us.oracle.com/pub/epd19/B53824-01_1of4.zip

wget -i download.txt

Refer:http://www.editcorp.com/Personal/Lars_Appel/wget/v1/wget_7.html


安装:configure, make, make install

Refer:http://www.codecoffee.com/tipsforlinux/articles/27.html

你可能感兴趣的:(unix)