User Tools

Site Tools


listalluserswiththeirusernameandfullname
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


listalluserswiththeirusernameandfullname [2013/01/28 04:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== List All users with their username and full name ======
 +<file>cat /etc/passwd | cut -d: -f1,5 | sed s/:/" "/g</file>
 +"s/" denotes the replace the next thing the ":" shows what to replace, then the " " shows what to replace with and the /g at the end means replace all instances on the line, not jus tthe first one.
 +so that will basically change all colons to spaces on any lines returned.
  
 +-- Main.FredPettis - 25 Feb 2010
listalluserswiththeirusernameandfullname.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1