![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| finding Background Process Id | krk_555 | Shell Programming and Scripting | 4 | 10-24-2007 05:34 PM |
| finding idle time of a process | Krrishv | Shell Programming and Scripting | 36 | 01-10-2007 06:34 AM |
| finding a process running on a port | manduva | UNIX for Advanced & Expert Users | 8 | 02-12-2004 03:49 AM |
| finding process id | sskb | UNIX for Dummies Questions & Answers | 8 | 04-10-2002 11:00 AM |
| Finding Out When A Process Has Finished? | 1cuervo | UNIX for Advanced & Expert Users | 5 | 11-02-2001 02:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Finding out process id in a scipt
Hi,
If in a shell script i write a command ls > bla & ls The output is redirected to bla and the next ls starts as first one is going on in background. I want to find the PID of the first command. Thanks in advance |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Code:
ls > bla & echo $! ZB |
|
#3
|
|||
|
|||
|
Great,
I was looking for just that thing. Thanks a lot. |
|||
| Google The UNIX and Linux Forums |