Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Jackled

    shell scripting and pid control

    Sorry chaps, this should have been in the general Unix forum, and I found the answer there in the archives...
  2. Jackled

    How do I get the PID for a process started in a shell script?

    I personnally find $! much more useful than $$. This allows me to record automatically the pid of a process that I start in a script, so that later I can check the status or kill that process, referring to its pid. As in perl the $! has another meaning, (this variable is basically the last...
  3. Jackled

    shell scripting and pid control

    I am trying to develop a simple way to get the pid of a process once it is started. If you start a process in background with the "&", you then get its pid in stdout. But if I run this in a script, let's say a script called "test": #!/bin/bash sleep 60 & > test.log 2>&1...

Part and Inventory Search

Back
Top