Professional Documents
Culture Documents
UNIX Course Module 6 Hands-On: 3
UNIX Course Module 6 Hands-On: 3
Hands-on: 3
UNIX/Linux Training
support@intellipaat.com
+91-7022374614
US: 1-800-216-8930(Toll Free)
UNIX/Linux Course
AWK Command
Step 1: Let us create a small file with records of the status of two active service in the
network. Here’s what the file looks like
But when it comes to real life problem scenarios, text processing becomes more complex.
Instead of writing the awk command every time of the terminal, having a awk program in a
separate file makes more sense.
Step 10: Now process the data file with the help of awk command file
Now that we are familiar with dealing with small data files, we should be able to process data
from large data files that comes in different formats. Let us see how to extract data from a
zipped file. Since we are using virtual machine we will be mounting a folder from our primary
operating system to the operating system that we are running on the virtual machine. Head on
to the next hands-on for the practical explanation.