0% found this document useful (0 votes)
14 views1 page

OS & Shell Scripting Skill Test

The document outlines a skill test for the Operating System and Administration course at Govt Polytechnic Hangal. It includes three sets of tasks requiring students to write and execute various file directory and manipulation commands, as well as shell scripts for specific functions. The test is designed to assess students' practical skills in using command-line tools and scripting.

Uploaded by

amrutha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

OS & Shell Scripting Skill Test

The document outlines a skill test for the Operating System and Administration course at Govt Polytechnic Hangal. It includes three sets of tasks requiring students to write and execute various file directory and manipulation commands, as well as shell scripts for specific functions. The test is designed to assess students' practical skills in using command-line tools and scripting.

Uploaded by

amrutha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Govt Polytechnic Hangal,Haveri-581104

Dept Of Computer Science & Engg

Skill Test -1

Course: Operating System And Administration Max Marks:100


Course Code:20CS42P Time:180 Min

Date:

Set -1
1) Write and execute the file directory commands with the syntax and options.
a) mkdir c) cat
b) mv d) rm
2) a) Write a shell script to Find the biggest of three numbers using if-elif-fi.
b) Write a shell script to check whether a person is eligible to vote or not.

Set-2

1) Write and execute file manipulation commands with the syntax and options.
a) ls c) chmod
b) comm d) cmp

2) a) Write a shell script to count number of lines, words, and characters in a given file.

b) Write a shell script to Check whether a given number is even or odd.

Set-3

1) Write and execute text processing commands with the syntax and options.
a) sort c) uniq
b) wc d) head

2) a) Write a shell script to print the number in matrix format.


c) Write a shell script to find the division of two numbers.

You might also like