Professional Documents
Culture Documents
Assignment: TB (Compulsory)
(c) cut filter- It is useful when specific columns from the output
of certain commands (such as ls-l, who) need to be extracted. It can
also be used to extract specific columns from files.
Syntax- cut [options] [filename/s].
(e) cat- It displays the contents of a file and with its we can
create a file also.
We can create a file by using the command:
Cat > filename.
Q6. what is shell script to check whether given year is a leap year
or not?