ls
ls -ld #long information of directory
ls -i #index node
cp -p #preserve
cp without ask
1./cp 2./bin/cp 3.unalias cp 4.cp -y
因为cp其实是个别名cp -i
alias rm ='rm -i' #设置别名
alias rm='echo this connemd is denied' #防止误操作危险命令。加了echo会输出你写的提示,如果不加echo会报错
alias net='cat /etc/sysconfig/network-scripts/ifcfg-eth0' #可以简化命令
把别名放在/etc/profile里,然后source /etc/profile,永久生效
cat -n #line number
nmon
top