Distinguish From The A File Contents Which The Processes Are
How Can I Distinguish From The A File Named Procs (in The Current Directory) That Contains Names Such As
Httpd Date Ps Gettty Etc. Which Names Are Representing Processes And Which Are Not? My Thought Is: For I In $(sort ./procs | Uniq); Do Echo $i|grep Ps Done But I Show Only The Name Ps And Not Other Processes. Please Any Help |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
http://www.linuxquestions.org/questi...4/#post3092938 http://www.linuxquestions.org/questi...9/#post3091056 Posting homework questions isn't bad enough? Now you're triple-posting those? You're not making yourself any more popular, my friend. |
All times are GMT -5. The time now is 05:41 PM. |