I keep forgetting this command, so I writing it here so I know where to find it. Getent will list information about users and groups on a UNIX/Linux system, including NIS and LDAP users, which is crucial networks with multiple nodes. For example to list information about a user named robert_felty, you can do:
$ getent passwd robert_felty
robert_felty:$1$iPJ.svD/$ce77I/wxh129FLt2Z7UOm.:5440:112:Robert Felty:/home/robert_felty:/bin/bash
UNIX/Linux permissions and groups – getent
Join 164 other subscribers
archives
Category
- ▼Computers (134)
- ►(x)html (19)
- ►bash (9)
- ►css (13)
- ►elasticsearch (1)
- ►git (1)
- ►hardware (3)
- ►java (2)
- ►javascript (12)
- ►latex (29)
- ▼linux (25)
- BASH history and GNU screen
- Bash one-liners to the rescue
- broke my linux install again
- convert pdf to png with imagemagick
- cross-platform file encryption
- Editing video from a Canon FS100 with Kino and ffmpeg
- Kubuntu Gutsy with Compiz
- Monitoring and automatically restarting services
- My new computer — hardware
- My new computer — software
- Photos, EXIF, IPTC oh my!
- Picasa 3 collages
- Picasa, JAlbum, and null bytes
- Reading iptc captions from jpegs with imagemagick
- sort using TAB as field separator in bash
- Strange bracketing behavior in grep and sed
- UNIX tip of the day: pushd
- UNIX tip of the day: readlink
- UNIX Tip of the day: simple backups
- UNIX/Linux permissions and groups – getent
- Using awk to sum rows of numbers
- Vetting vignetting
- vi key bindings in R
- Why doesn’t Mac update standard UNIX utilities?
- Xorg.conf configuration — solved font size problem
- ►lucene (1)
- ►mac osx (10)
- ►perl (8)
- ►php (18)
- ►python (4)
- ►regex (4)
- ►software development (4)
- ►solr (1)
- ►sql (9)
- ►svn (1)
- ►UNIX (12)
- ►vim (1)
- ►wiki/cms (11)
- ►WordPress (58)
- ►(x)html (19)
- ►cooking (44)
- ►environmentalism (4)
- ►general (18)
- ►linguistics (15)
- ►mindfulness (4)
- ►music (2)
- ►photography (15)