网站建设资讯

NEWS

网站建设资讯

linux常用命令补充(tar,date,sz,rz,diff,vimdiff)

1、--exclude 排除
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
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)
sz 把linux文件的下载到Windows
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
4、date 显示,设置时间
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
linux常用命令补充(tar,date,sz,rz,diff,vimdiff)

创新互联建站主营西山网站建设的网络公司,主营网站建设方案,重庆APP软件开发,西山h5微信平台小程序开发搭建,西山网站营销推广欢迎西山等地区企业咨询

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)
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)


本文名称:linux常用命令补充(tar,date,sz,rz,diff,vimdiff)
文章来源:http://cdweb.net/article/joejsp.html