Nifty little Linux shell script to scrape /etc/passwd data

There’s a certain level of fascination with account data on Unix and Linux and I receive a surprising number of queries about how to accomplish different tasks while analyzing that data on one of these systems. It turns out to be really easy, however, if you’re familiar with the awk command in Linux / Unix, and that’s what I demonstrate when I answer a reader query about how to extract user account names and turn them all into email addresses.

    Linux shell script to extract /etc/passwd info

I have quite a bit more about shell script programming in my popular book Wicked Cool Shell Scripts, if this whets your appetite!

[tags]shell script programming,wicked cool shell scripts[/tags]

Article Written by

Chris has consistently expressed his convictions and visions outright, supplying practical information to targeted audiences: media agencies, business owners, technology consumers, software and hardware professionals, et al. He remains a passionate personality in the tech community-at-large. He's a geek.