Exercise #1: Learning awk Basics
Feb 14, 2011, 15:05 (0 Talkback[s])
[ Thanks to Andrew
Weber for this link. ]
"The 10 Days of awk
"We have officially launched the "10 days of awk" segment. A
short-course including tutorials, videos and exercises will be
rolled out in an effort to help admins use awk more confidently.
Here is the first awk exercise and an example to get you
started.
* Exercise 1: Learning awk Basics
* An awk Example - Checking Processes for Memory Use
* Exercise 2: Learning awk with Operators
"Exercise #1: Learning awk Basics
"by mike on February 12, 2011
"One of the best ways to learn awk is to have a series of
commands that you can run to see how the basics work and then build
on that. Here is the first in a series of 10 lessons on how to use
awk. Start with creating a file to work with by going to the
command line and redirecting the output of the ps command to create
a file called processes. Note the processes on your server or
desktop will likely be different but the principles are the
same."
Complete Story
Related Stories: