LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 04-07-2011, 09:17 AM   #1
Kalota
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
mayursingru
Member
 
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.


Regards,
Mayur Singru
 
Old 04-07-2011, 09:36 AM   #3
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 858

Rep: Reputation: 88
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:

Code:
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.

Luck!

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

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

Kalota
 
  


Reply


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


All times are GMT -5. The time now is 05:36 PM.

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