Linux
Linux
叶 落
这个作者很懒,什么都没留下…
展开
-
rsync error: some files/attrs were not transferred
rsync error: some files/attrs were not transferred (see previous errors) (code 23) 错误截图: 解决办法: 再所有要同步的Linux机器上:修改要传输的文件和该文件的目录的所有者和所属组为当前用户 chown Lilie /fatherDir chgrp Lilie /fatherDir chown Lilie ./file.txt chgrp Lilie ./file.txt ...原创 2021-09-28 17:13:17 · 1131 阅读 · 0 评论 -
Linux常用命令
解压tar包 tar -zxvf hadoop-2.7.3.tar.gz -C /opt/module/ -z: --gzip, --gunzip, --ungzip -x: --exclude patterns listed in file -v: --verbosely list files processed -f: --use archive file or device archive 查看文件的末尾和头 tail -f /opt/module/hive/logs/hive.lo原创 2021-09-24 20:28:34 · 415 阅读 · 0 评论 -
CentOS7关于防火墙的命令
CentOS7关于防火墙的命令 firewall-cmd --state 查看防火墙状态 systemctl stop firewalld 关闭防火墙 systemctl disable firewalld.service 设置防火墙开机不会重置导致开启原创 2021-09-21 18:22:10 · 205 阅读 · 0 评论 -
linux中如何快速保存退出vim
如何快速保存退出vim 在普通模式(进入vim时的模式)下按 shift+zz原创 2021-09-03 14:41:30 · 938 阅读 · 0 评论