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

OS - Written Test1

The document outlines a skill test for the Operating System and Administration course at Govt Polytechnic Hangal, detailing tasks for three sets. Each set includes commands to execute and shell scripts to write, focusing on file directory commands, file manipulation, and text processing. The test is designed to assess students' practical skills in using shell scripting and command-line operations.

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)
2 views1 page

OS - Written Test1

The document outlines a skill test for the Operating System and Administration course at Govt Polytechnic Hangal, detailing tasks for three sets. Each set includes commands to execute and shell scripts to write, focusing on file directory commands, file manipulation, and text processing. The test is designed to assess students' practical skills in using shell scripting and command-line operations.

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
You are on page 1/ 1

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

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