基础命令

date --­­help
date  '+%T'
15:04:58
whatis date
date (1)             - print or set the system date and time

man date
获取详细的命令解释

cd ~/wntlab
//新建文件夹
mkdir example
//新建文件
touch b c
//复制文本内容
cp  b c//把  b的内容复制给 c 

cp  b a/  //把 文件b复制到文件夹a的目录下
cp c d a/     /把 文件从c,d复制到文件夹a的目录下


移动文件
//原来的文件不在了
mv  b a/

rm  b  
rm -r a/    //移除文件夹要加上  -r
-r:若给出的源文件是一个目录文件,此时将复制该目录下所有的子目录和文件。
cp -r a/* RCAN_TestCode/n
把a目录下的所有复制到
解压、压缩文件
zip -r a.zip a
unzip a.zip -d a
原文地址:https://www.cnblogs.com/tingtin/p/10873536.html