Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-13-2008, 11:39 AM   #1
LQ Newbie
Registered: May 2008
Location: Leiden, Netherlands
Distribution: Debian Etch
Posts: 6

Rep: Reputation: 0
[Debian]Retrieve user id

Hello everybody,

I'm fairly new to debian but i've managed to get samba, cups and even proftpd working. Now i'm trying some bash scripting and I want to know if there is any way to retrieve a user's id using the bash (or something similar) instead of looking into the /etc/passwd file.

Niels Lemmens
Old 05-13-2008, 11:54 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
the command is id


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
Retrieve write protect state of USB device in user space GeertPh Linux - Software 0 10-03-2006 01:25 AM
New Debian user here Christmas Member Intro 1 04-17-2006 07:40 AM
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
New Debian user alphazed Member Intro 1 01-08-2006 03:42 PM
New Debian User cheeky_zombie Linux - Distributions 3 10-23-2001 12:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 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