1、--exclude 排除
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)_第1张图片
2、linux下面的对比命令
diff
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
vimdiff 退出需要两次
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
3、lrzsz 把文件上传或者下载到linux
rz 把windows里面的文件上传到linux
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)_第2张图片
sz 把linux文件的下载到Windows
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)_第3张图片
4、date 显示,设置时间
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)

linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
显示当前时间以年月日-小时格式
20190101-10
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
date -d " 10day" 10天之后
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
date -d 显示几天前的时间
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
压缩/etc/目录到/tmp下,并以时间命名

linux常用命令补充(tar,date,sz,rz,diff,vimdiff)_第4张图片
date -s 设置时间
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
自动同步时间(根据阿里云时间服务器,批量同步,连网就可以了)
ntpdate(centos6默认,7里面没有)
根据网站时间修改系统的时间---ntp1.aliyun.com------ntp7.ailiyun.com
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)_第5张图片