![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| retrieving pid | p_aishwarya | UNIX for Advanced & Expert Users | 3 | 09-16-2007 04:59 PM |
| Using loop reading a file,retrieving data from data base. | Sonu4lov | Shell Programming and Scripting | 1 | 01-19-2007 03:38 AM |
| Retrieving data | bobo | UNIX for Dummies Questions & Answers | 2 | 06-23-2006 03:02 PM |
| Automating Rlogin and File Retrieving | vicesjr | Shell Programming and Scripting | 3 | 04-27-2005 10:30 AM |
| retrieving a deleted file | jyotipg | UNIX for Advanced & Expert Users | 2 | 01-04-2002 08:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Retrieving PID from a file
Hello
I need to retrieve the content of a file in the shell script file(.sh file). I store the Process ID of the a process in file.Only the PID is available in that file. Inside the shell script i want to retireve the content(PID) and need to check for the existence of the Process.Basically i use this mechanism to make sure a process is not started more than once in a machine. Kindly let me know how to retrieve the content of a file inside shell script and assign that content to a variable. Last edited by appleforme1415; 10-17-2007 at 08:02 AM.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|