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 > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-31-2006
remid1985 remid1985 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 9
separate information with a space character

Hi,

I would like to display a sorted list (based on the login name) of the login name, the home directory and the default shell of each user defined on the system ;

I just do
cut -d: -f1,6,7 /etc/passwd | sort


And then I would like to separate each information with a space character.
I had the idea to use the Outpud Field Separator as I use with awk but no way .
How could I like this space with this command ?

thanks .