Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Reg.No.

____________

End Semester Examination – Apr/May – 2018


Code : 14CS2044 Duration : 3hrs
Sub. Name : INTRODUCTION TO SYSTEM ADMINISTRATION Max. marks : 100

ANSWER ALL QUESTIONS (5 x 20 = 100 Marks)

Q. Sub Questions Course Marks


No. Div. Outcome
1. a. Analyse the functioning of the following (i) hardlink and softlink CO3 10
(ii) cp, more and less.
b. Discuss the X window system and its components and its CO1 10
contribution towards developing a new desktop environment.
(OR)
2. a. Write the necessary commands to perform the following CO3 10
● list all the files including the hidden files.
● create an empty file named “myfile1”.
● create a directory mkdemo/inner-dir1 using a single
command
● delete the directory named “mydata” which contains 10
files
● list out the ways the “cat” command is used to create, view
and append a file.
b. Perform the following operations. CO3 10
● create your own alias for the command ls -li and remove it.
● write the output of command echo \*\*\* hello \*\*\*
● write the command to count the number of files in /etc
directory.
● Use tail command to view the /var/log/apache2/apache2.log
file lively.
● command to set up the prompt with current date.
● add write and execute privilege to the group users on file1
● change the owner and group of file7 to user john group hr

3. a. Show the working of linux permissions and how it can be managed CO2 10
using the commands.
b. Illustrate the different channels supported by Linux with CO2 10
appropriate example and diagram. Also, show how to perform
AND, OR, pipe and tee operations using commands.
(OR)
4. a. Demonstrate the use of regular expressions in text processing using CO3 10
8 different expressions.
b. Explain the following commands with your own example sort, CO3 10
uniq, diff, strings and cmp.

5. a. Consider the following details, assume that it is stored in a file CO3 10


emp-details
100 Thomas Manager Sales $5,000

200 Jason Developer Technology $5,500

300 Sanjay Sysadmin Technology $7,000

400 Nisha Manager Marketing $9,500

500 Randy DBA Technology $6,000

600 blrk Sysadmin Technology $9,000

Apply a minimum of 5 options in each sed and awk to generate


different outputs.
b. Create compressed and decompressed, archive files using gzip, zip CO3 10
and bzip2, tar and cpio
(OR)
6. a. Show how the rpm command can be used to perform the following: CO2 10
query, search, install, uninstall, update and check the signature of a
package.
b. Analyse the user security support in Linux system and how it can CO1 10
be implemented.

7. a. Describe the use and advantages of shared library and paged CO2 10
memory in Linux. Also show how the system admin can track the
memory usage and virtual memory information.
b. Illustrate the following with necessary examples (i) process and its CO2 10
states, (ii) role of kernel in managing the process, (iii) the way
operating system manages the multitasking, (iv) process creation,
(v) role of swap in process management.
(OR)
8. a. Create and schedule a job using at and cron. CO2 10
b. Show the working of remote login in linux machines. 10

Compulsory:
9. a. Evaluate the functioning of shell script by giving different CO1 10
examples.
b. Analyse the linux boot process. CO1 10

You might also like