You are on page 1of 2

TYBCA SEM-5

502
UNIX_&_SHELL_PROGRAMMING(PRACTICAL)

Programme List-2020-2021
Q-1 5 queries based on unix basic commands (who,
date, cal, touch, tty)
Q-2 5 queries based on filter utilities commands (head,
tail, cut, paste, sort, tr, cmp, diff, comm, uniq, wc,
tee)
Q-3 5 queries based on simple filter commands (grep,
sed)
Q-4 Write a shell script to accept a string and reverse it
without using rev() function, apply proper
validation.
Q-5 Write a shell script to find a file with maximum
size in the current directory, also print the no of
words, characters, and lines along with the content
of file.
Q-6 Write a shell script which works like a
calculator(enter the values via command line
argument)
Q-7 Write a shell script which checks whether an
entered user is valid or not
Q-8 Write an awk script to print the fields 2,3,4 and 6
from test.txt file which contains the pattern ‘unix’
Q-9 Write an awk script that displays first two-words of
each line of the file f1
Q-10 Write an awk script which prints file contents
bottom to top
OR
Write an awk script which print frequency of each
word in the input file

Note: Suggestions are invited

You might also like