随笔分类 - Linux
摘要:Nov 17 15:12:45 localhost haproxy[11628]: 123.4.5.6:14566 [17/Nov/2016:15:12:45.373] http servers/srv3 64/0/1/21/86 200 289 - - 72/72/0/1/0 0/0 "url"
阅读全文
摘要:grep --include='*.xml' -i, --ignore-case 不区分大小写 -L, --files-without-match 显示不匹配的文件名 -n, --line-number 显示的加上匹配所在的行号 cat /etc/passwd | grep -E '^(patrol
阅读全文
摘要:A机可免密码访问B机:A机执行:ssh-keygen 一路回车ssh-copy-id -i ~/.ssh/id_rsa.pub B机用户@B机IP ssh@B机IP即可免密码访问B机
阅读全文
摘要:rsync -avz -e ssh /home/local/filename remote@192.168.0.120:/home/remote/dst_dir 需要设置ssh免密钥登录远程主机
阅读全文

浙公网安备 33010602011771号