![]() |
|
|
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 |
| Running script from other user rather than login user | rawatds | Shell Programming and Scripting | 3 | 01-30-2009 01:18 PM |
| How to check the status of the processes running for the current user? | ravind27 | UNIX for Dummies Questions & Answers | 1 | 07-05-2007 04:10 AM |
| Running a check platform script | heartwork | Shell Programming and Scripting | 4 | 02-03-2007 04:49 PM |
| Check if trigger Script is running | mgirinath | Shell Programming and Scripting | 9 | 04-05-2006 02:07 AM |
| check that script is not running twice | Link_02 | Shell Programming and Scripting | 2 | 02-20-2002 07:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I am looking for the syntax to check which ID is executing script.sh. If the the ID, is not user1 then I want the script to exit and return to command prompt, if it is user1, then I want the script to continue. Any help would be greatly appreciate.
Thank you. Chris |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|