0% found this document useful (0 votes)
815 views

Unix & Shell Programming

This is the assignment given to me on partial fulfillment of the course Unix and Shell Programming. This presentation consists of certain tasks and solutions for the same.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
0% found this document useful (0 votes)
815 views

Unix & Shell Programming

This is the assignment given to me on partial fulfillment of the course Unix and Shell Programming. This presentation consists of certain tasks and solutions for the same.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
You are on page 1/ 13

echo "UNIX & SHELL

PROGRAMMING"
printf "Presented By"
printf "Sivagami
Annamalai"
TASK 1
Find out the
name of the
present
working
directory
TASK 2
Order the
files based on
last modified
time (In
Reverse
Order)
TASK 2
(Clarification)
Order the
files based on
last modified
time (In
Reverse
Order)
TASK 3
Empty the
value in
second
column (awk)
TASK 4
Using the
delimiter
without
square
brackets
(awk)
TASK 5
Find files that
matches
exact given
size
TASK 6
Create alias
for frequent
find
operations
TASK 7
To print only
the second
field (Sed)
TASK 8
Print only
lines in which
last column is
a single digit
number (sed)
TASK 9
Write a script
which checks
whether a given
file contains a
given word. If it
does, the script
should output the
message "The file
contains the
word";
if not, it should
output the
message "The file
doesn't contain the
word"
TASK 9
Write a script
which checks
whether a given
file contains a
given word. If it
does, the script
should output the
message "The file
contains the
word";
if not, it should
output the
message "The file
doesn't contain the
word"
echo ”Thank
You..”

You might also like