Unix Scripts--海外华人
   >  Unix Scripts< 返回  


Unix Scripts
 
[2015-05-20]
 
Common Unix Scripts


-- to remove color
use unalias ls


-- check total space for /
du -ch | grep total
18G total


-- what percent free in each directory
$ df -h | grep /


rm -rf
-f, --force, r, -R, --recursive
Remove write-protected files without prompting.
if file is a directory, remove the entire directory and all its contents, including subdirectories.

ln -s
ln file1 dir2
This creates a link dir2 to the file f1 in the current working directory.














[说明] Common Unix scripts

声明: 海外华人网所有刊载文章仅供参考,不构成投资或行动建议。欢迎免费引用,引用时需注明文章来源:海外华人网(haiwaihuaren.com)