The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Unique Result
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-29-2008
unibboy unibboy is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 10
success

@ jacob

just t say thanks for that, it did work well.

can i just ask if any one can show me how to get the real name of logged in user from the finger command.

when I ran the following command:

finger userLogingName

i got the resul in the following format

Login: xxxxxx Name: yyy xxx
Directory:/home/xxxxxx shell: /bin/bash
on since wednesday 30......
No mail
No plan



but my issue is how to i GET only the name from this output, many thanks