Results 1 to 3 of 3
Write a single command line to list the username, numeric user ID, and home directory from of each user from /etc/passwd, sorted by numeric user ID. If more than one ...
- 05-01-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 1
Need help writing a script
Write a single command line to list the username, numeric user ID, and home directory from of each user from /etc/passwd, sorted by numeric user ID. If more than one command is needed, use the pipe operator.
This is a task that i am going to have to be able to complete on my final. I got a general Idea of what I have to use, I know its going to be the awk, grep, sort, and cat commands but putting it all together and have it work is my problem.
* thread movedLast edited by devils casper; 05-01-2007 at 06:29 PM. Reason: removed color tags.
- 05-01-2007 #2
Please post in the correct section
It's nor permitted to post homework questions here, we can help you with specific questions, not your whole final.Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 05-01-2007 #3
Hi desertlife1974,
Welcome to the LinuxForums.
home work questions are not allowed. Forum Rules.
if you have specific problem, feel free to start a new thread. we will try our best to help you.
LockedIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


