![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
「已注销」
这个作者很懒,什么都没留下…
展开
-
Linux后台运行程序
Linux后台运行程序比如hiveserver2这种默认前台的程序使用nohup和&来将hiveserver2这种程序设置成后台不间断运行的程序#默认格式nohup command &#ex nohup hiveserver2 &这样就将hiveserver2设置成后台不间断运行了nohup命令本身不具备后台执行,而是&将命令设置为后台执行no...原创 2020-03-15 17:17:40 · 106 阅读 · 0 评论 -
linux下批量杀死进程(java...)
pkill -9 javaps x|grep java|grep -v grep |awk ‘{print $1}’|xargs kill -9原创 2019-10-30 21:09:21 · 484 阅读 · 0 评论 -
linux各种自用小脚本
boot.sh(配置免密登录)SERVERS="server1 server2"PASSWORD="root"BASE_SERVER=192.168.1.100auto_ssh_copy_id() { expect -c "set timeout -1; spawn ssh-copy-id $1; expect { *(yes/no)* {send --yes\r;ex...原创 2019-10-25 16:48:59 · 281 阅读 · 0 评论