tail -f xxx.log
vi xxx.log shift+G跳转文件尾部 shift+?从后往前检索关键字 shift+/从前往后检索关键字 :q结束并关闭文件
more xxx.log
sftp ip@user 登录其他服务器 mget *将当前目录下所有文件复制到本地服务器 mput *将当前目录下所有文件推送到ftp的服务器 lcd dir切换本地服务器当前目录 lpwd查看本地服务器当前目录
tail -f xxx.log
vi xxx.log shift+G跳转文件尾部 shift+?从后往前检索关键字 shift+/从前往后检索关键字 :q结束并关闭文件
more xxx.log
sftp ip@user 登录其他服务器 mget *将当前目录下所有文件复制到本地服务器 mput *将当前目录下所有文件推送到ftp的服务器 lcd dir切换本地服务器当前目录 lpwd查看本地服务器当前目录