22 January 2011

LINUX - awk


To print single column from a text file
#awk -F: '{print $1}' /etc/passwd

To print multiple columns from a text file
# awk -F: '{print $1,$7}' /etc/passwd

No comments:

Wordpress - Local installation in Vmware

If you're interested in exploring website design with WordPress, this guide will help you set up a WordPress instance on your local mach...