2018年10月13日

shell中获取本机ip地址

摘要: shell中获取本机ip地址 方法一: /sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:" or /sbin/ifconfig|sed -n '/inet addr/s/ 阅读全文

posted @ 2018-10-13 13:57 Shihu 阅读(12442) 评论(0) 推荐(0) 编辑

scp和rsync命令

摘要: http://man.linuxde.net/rsync 阅读全文

posted @ 2018-10-13 10:41 Shihu 阅读(178) 评论(0) 推荐(0) 编辑

导航