Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix awk command

Quick links

About awk
Syntax
Examples
Related commands
Unix main page

About awk

Originally based of the awk script processing language awk also known as oawk, gawk, mawk and nawk allows 

Syntax

awk [program | -f program file] [flags / variables] [files]

-f program file Run an awk script from the specified file instead of from the command line.
variable Initializes the awk variable with the specified. Syntax is variable=value

The awk program can consist of one or more awk commands separated by a \n or semicolons.

Examples

awk myscript.sh

In the above example this command would execute the awk script "myscript.sh".

Related commands

bc
oawk
gawk
mawk
nawk

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope