(2)Linux文件和目录操作命令
程序员文章站
2022-05-03 22:09:14
简单就是高效 pwd cd -/~/.. tree–a/d/f/i/L mkdir–p/v/m touch ls –l/a//i/h/F cp –r/p/d/a mv rm –f/r/i rmdir -pv 仅空 ln –s readlink -f find path –type/name/size ......
简单就是高效
pwd |
cd -/~/.. |
tree–a/d/f/i/l |
mkdir–p/v/m |
touch |
ls –l/a//i/h/f |
cp –r/p/d/a |
mv |
rm –f/r/i |
rmdir -pv 仅空 |
ln –s |
readlink -f |
find path –type/name/size 文件类型bcdplfs |
xargs –dn |
|
chgrp |
umask |
ch/lsattr-r+ai |
file |
md5sum |
chown |
chmod |
|
|
|