. # 当前目录
.. # 上一层目录
- # 前一个工作目录
~ # 当前用户的家目录
~zac # zac用户的家目录
Print the name of the current Working Directory.
Usage:
ls [OPTION]... [FILE]...
Options:
-a, --all
-d, --directory
-h, --human-readable
-l
e.g. stat home/
e.g. stat -t home/
yum install tree -y
Usage:
tree [OPTION]... DIRECTORY
Options:
-C # turn colorization on always
-L level # Descend only level directories deep
-d # List directory only
Usage:
cp [OPTION]... SOURCE DEST
Options:
-a, --archive # same as -dR, --preserve=all
-r, --recursive # copy directories recursively
-u, --update # copy only when the SOURCE file is newer than the destination file
-v, --verbose
rm [FILE]... -rf
Usage:
mv [OPTION]... SOURCE DEST
Options:
-u, --update # move only when the SOURCE file is newer than the destination file
-v, --verbose
创建新文件或修改文件时间
mkdir [-p, --parents] [-v, --verbose] DIRECRORY...
原文:https://www.cnblogs.com/zakzhu/p/11632990.html