摘要: 转:http://blog.sae.sina.com.cn/archives/1231十一月 4, 2013 by 遇见sharonssh user@server bash < /path/to/local/script.shssh到远程服务器执行一个脚本,此命令可以避免将脚本上传到远程服务器ssh user@host cat /path/to/remotefile | diff /path/to/localfile -比较远程文件和本地文件的差异vim scp://username@host//path/to/somefilevi一个远程文件curl ifconfig.me在内网下查看 阅读全文
posted @ 2013-11-06 13:19 雨做的云 阅读(275) 评论(0) 推荐(0) 编辑