in reply to Re: printing passwd file
in thread printing passwd file
You can also use this:
perl -wlne 'print join " ", (split /:/)[0, 4]' /etc/passwd
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: printing passwd file
by halley (Prior) on Mar 14, 2005 at 18:09 UTC | |
by ambrus (Abbot) on Mar 14, 2005 at 18:28 UTC |