linux常用命令

查看发行版本

 

uname -a

cat /proc/version

cat /etc/issue

lsb_release -a

 

> /dev/null 2>&1 

 

rm -f删除报错,用xargs

find -name  "*.log" | xargs rm -f

 

移动文件

find . -name "*" | xargs -i  mv {}  dest

 

ulimit -SHn 51200

 

在一个脚本中source filename

 

 

 


 

你可能感兴趣的:(linux)