View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-20-2006, 12:55 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
List of users

I have a Redhat Linux 3.0 server how do i pipe a list of all users to a file.
Old 04-20-2006, 01:15 PM   #2
Registered: Mar 2006
Distribution: Fedora Solaris Slackware
Posts: 50

Rep: Reputation: 15
awk -F: '{ print $1 }' /etc/passwd > whatever.txt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list existing users? stefaandk Linux - Newbie 11 04-03-2006 01:03 AM
list of users Ab3n Linux - Newbie 3 03-08-2006 12:30 PM
list out the users. bruse Linux - Newbie 2 07-19-2005 08:46 AM
List all users eam Linux - Newbie 7 05-15-2005 11:55 PM
[Samba] how to list users yan1 Linux - Networking 2 04-04-2005 07:23 AM

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration