shell programs

how to write pipe for finding out the login names and login time of the users whose login name begins with p.

Thread closed due to violation of rule 6: Homework.