Review your favorite Linux distribution.
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-07-2011, 09:17 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Post Printing active users list

We are using OES 10.00 and would like ot print list of all users in the container.
Old 04-07-2011, 09:27 AM   #2
Registered: Nov 2010
Location: Pune
Distribution: CentOS
Posts: 51

Rep: Reputation: 5
Hi Kalota,
I have no idea about what OES 10.00 is but if its Linux distro just check out "man who". This will most probablt solve your problem.

Mayur Singru
Old 04-07-2011, 09:36 AM   #3
Registered: Jul 2006
Location: VPN Tunnel, USA
Distribution: Slackware64
Posts: 930

Rep: Reputation: 113Reputation: 113
I'm not sure, but if you mean that as Admin you want a printout of all currently active users on the system, you use this command:

admin@OES~:# who > users.txt | lpr -P <printer name> users.txt
This will use the who command to create a file called users.txt which is then piped into the printer output. You'll need to remove the < and > and enter your printer's name in that place on the line.


Old 04-07-2011, 10:00 AM   #4
LQ Newbie
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you and let me try.



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
List 4 names from users list and output them to fbusers in numbered ascending order? fezzie Programming 4 02-10-2010 01:05 PM
Hiding certain Active Directory users from logon list when using winbind kamahl Linux - Security 0 12-01-2008 07:03 PM
adding proc list and task list of active processes. pravin.embedded Linux - Newbie 1 09-02-2008 01:20 PM
Active directory users to Samba users alexpacio Linux - Networking 0 05-19-2006 08:44 AM
active device list hinetvenkat Linux - Enterprise 0 12-20-2004 03:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 PM.

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