LinuxQuestions.org
Help answer threads with 0 replies.
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 03-19-2006, 07:46 AM   #1
soldan
Member
 
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

Rep: Reputation: 15
commandline help needed


hello, i have recently learned how to add and delete users and groups to my linux system via the commandline. is there a command to see which groups and users have an account on the system? (i can check via the gui tool in gnome however, but i would like to be able to check this information via the commandline). thanks.
 
Old 03-19-2006, 08:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
cat /etc/group and cat /etc/passwd does it for me.
 
Old 03-19-2006, 12:42 PM   #3
soldan
Member
 
Registered: Feb 2006
Distribution: slackware 11
Posts: 110

Original Poster
Rep: Reputation: 15
thanks chris
 
  


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
X!! Fowarding using commandline cvcrud Red Hat 3 06-26-2005 05:22 PM
using mcrypt from commandline Hano Linux - Security 5 12-11-2004 10:17 AM
want to use Variable as commandline clsonnt Programming 2 10-28-2004 12:55 PM
Commandline in SUSE Aiza Sarah Linux - Newbie 2 09-27-2004 06:29 AM
Commandline Handbook SloHands General 11 01-31-2003 02:38 PM


All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration