1.Alt +P 进入sftp会话 2.pwd显示linux目录 lpwd显示windows目录 3.lcd切换windows目录 cd切换linux目录 4.put上传 5.get下载 6.help帮助 create or replace view alltest as select a.host as host, a.ip as ip, a.sno as sno1, b.sno as sno2, b.content as content, concat(substring(b.content…
salt '*id*' test.ping salt -N 组名 cmd.run '' salt -G "ipv4:0.0.0.0" cmd.run '' salt '*id*' cp.get_file salt://xxx/xxx /xxx/xxx salt -N 组名 state.apply hadoop.conf…
Linux系统当你在shell(控制台)中输入并执行命令时,shell会自动把你的命令记录到历史列表中,一般保存在用户目录下的.bash_history文件中.默认保存1000条,你也可以更改这个值 History命令主要用于显示历史指令记录内容, 下达历史纪录中的指令 .1>History命令语法: [test@linux]# history [n][test@linux]# history [-c][test@linux]# history [-raw] histfiles参数:n :数…