Day: December 14, 2007
Run a Command if Another Command Succeeds
December 14, 2007
This will let you run a linux command based on the success of anther command. Note: This will only work…
Pid Command
December 14, 2007
Create a command that will return the pid of the given command string.. #!/bin/sh ps aux|grep 1|head -n1|awk ‘{print2}’
Recent Comments