经过脚本的方式杀tomcat进程(shell脚本),shell中将一个文件的内容读出赋值给一个变量

#!/bin/bash echo "==================stop tomcat=========================" ps -aux | grep /usr/local/tomcat/ | grep -v grep > tomcat_info.txt sed 's/ / /g' tomcat_info.txt > tomcat_info1.txt sed 's/ /
相关文章
相关标签/搜索