| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Unix shell scripting help
|
Original Message
|
Name: amir134uk
Date: May 10, 2007 at 05:07:55 Pacific
Subject: Unix shell scripting helpOS: windows xpCPU/Ram: 512Manufacturer/Model: dell |
Comment: Hi, can anyone help me with this script as i'v been stuck on it for too long now any help will be appreciated. Create a script which will allow you to find all users currently logged on to the system and display the processes they are running. The heading for each user must be their real name not their log in name. I.e. my login name is john.smith but my real name is john smith The users must not be displayed more than once. The out put should look similar to this. John Smith PID TTY TIME CMD 31799 pts/3 00:00:00 vim 31866 pts/3 00:00:00 vim 2495 pts/7 00:00:00 vim 8368 pts/0 00:00:00 vim 9544 pts/2 00:00:00 ps
David askew PID TTY TIME CMD 8368 pts/0 00:00:00 vim 9544 pts/2 00:00:00 ps Write the output to a file.
Report Offensive Message For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home
Results for: Unix shell scripting help
Unix Shell Script Summary: Hello Out There! I need help writing a shell script program that will accept a CRN number a class course number passed as a single argument on the command line it will then use the standard system fil...
www.computing.net/answers/programming/unix-shell-script/621.html
Scripting Help Summary: From looking at his sample code, it looks to me like he needs a Unix shell script, not an NT shell script. "Computer security." — Oxymoron ...
www.computing.net/answers/programming/scripting-help/15283.html
Shell Script Calculator Summary: I am new to writing Unix Shell Script I need to write a Shell Script code for a calculator I hope someone can get me started. Thank you ...
www.computing.net/answers/programming/shell-script-calculator/734.html