What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-16 11:35:18
Tomcat Shutdown Script
#Finds the tomcat process id ps aux | grep tomcat | grep JavaVirtualMachines | awk -F " " '{print $2}' > tomcatProcessID #Kills the process id returned from above mentioned command. kill -9 `cat tomcatProcessID` && tput setaf 3 &... Add solution -
Shell/Bash 2021-11-14 01:13:14
kill process by name
###################################################### # How to Kill the supervisord process without the PID ###################################################### ps -ef | grep 'supervisord' | grep -v grep | awk '{print $2}' | xargs -r kill -9 Add solution -
Shell/Bash 2021-10-24 04:40:09
grep cheat sheet
#!/bin/sh #http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/ # GENERAL # print lines begining with range of letters grep ^[A-D] table.txt # REGEX # search for word which has any single... Add solution
Best helpers
Ranking is empty