Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    1

    Cool 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 moved
    Last edited by devils casper; 05-01-2007 at 06:29 PM. Reason: removed color tags.

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    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

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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.
    Locked
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...