only second column of /etc/hosts
just a quick one to get things started
a command to look at only the second column(ie host names) in the /etc/ hosts file?
more /etc/hosts | awk `{print $2}`
a command to look at only the second column(ie host names) in the /etc/ hosts file?
more /etc/hosts | awk `{print $2}`
1 Comments:
Awk is a very powerful and handy language. Few of my posts here
http://unstableme.blogspot.com/search/label/Awk
Post a Comment
Subscribe to Post Comments [Atom]
<< Home