Presentation For Os
Presentation For Os
Department
OPERATING SYSTEM
PROJECT
Presented by: Yomna Magdy
Overview
Project Timeline
Overview About AWK
What Is AWK
Internal Variables
Syntax And Methods
Practical
About Us
01 02 03 04
OverView With
Change Directory
Write In The New Show what We Had
With CD Command Written In The File
The AWK File With Cat
and Creata A New
Command Command Line With AWK
Folder With mkdir
Command
And File With Touch
command
Overview
AWK Command
Competitive
AWK Command is a scripting language primarily used for text
processing and data extraction. It takes input from a file or
standard input, processes it line by line, and performs actions
based on user-defined patterns and actions.
Execution
It’s typically used as a data extraction and reporting tool.
Like sed and grep And Elso To Show You Files Content By
Using awk ‘{print $1}’
It Can Elso Filter Your Data And Search For A Resalt That You
Want By Using awk ‘/(The Word That You Want To Find)/’
Operations
(a) Scans a file line by line
(b) Splits each input line into fields
(c) Compares input line/fields to pattern
(d) Performs action(s) on matched lines
INTERNAL VARIABLES
FILENAME : current input file name( do not change variable name)
FR : number of the current input line (that is input line 1, 2, 3… so on, do not
change variable name)
NF : number of fields in current input line (do not change variable name)
OFS : output field separator
FS : input field separator
ORS : output record separator
RS : input record separator
SYNTAX FOR AWK COMMAND
THANK YOU
For watching this presentation
+201013580052
Code: 200437