Help for this page

Select Code to Download


  1. or download this
    #!perl
    open (FILEH, "/etc/passwd");  #open the file for read
    ...
            print "User: $username,  ID: $id\n";  #print junk
       }
    }
    
  2. or download this
    grep -i root /etc/passwd | awk '{ ...
    
    You can figure it out.