Linux Question Paper and Answers Oct 2021
Linux Question Paper and Answers Oct 2021
Linux Question Paper and Answers Oct 2021
Part B
Answer any Four questions. Each question carries 8 marks.
13. Explain features of Linux operating system.
Portable - Open Source - Multi-User -Multiprogramming - Hierarchical File System - Shell -
Security
14. Write short note on Linux Standard Directories.
Standard directories reserved for system use. The root directory that begins the Linux file
structure contains several system directories. The system directories contain files and
programs used to run and maintain the system. Many contain other subdirectories with
programs for executing specific features of Linux. (4 marks) specify function of standard
directories (/home, /bin, /usr, /usr/bin, /usr/sbin, /etc …) (4marks)
15. Explain scheduling of a process with cron command.
automates the scheduled task at a predetermined time. It is a daemon process, which runs as a
background process and performs the specified operations at the predefined time when a
certain event or condition is triggered without the intervention of a user. ( Definition 4
marks). Syntax with description of different options (4 marks)
16. What are editors? Explain vi editors.
Editor definition 2 marks, vi editor different modes - Command mode: Insert mode and
Command line mode: and different commands -6 marks
17. Describe the use of conditional statement in shell scripts with suitable example. 1. if
statement 2. if-else statement 3. if..elif..else..fi statement (Else If ladder) 4.
if..then..else..if..then..fi..fi..(Nested if) 5. switch statement , syntax with suitable example
18. Explain different types of variables in shell script.
Explain user defined environment variables and system defined environment variables (4
marks each)
19. Discuss the various process of system performance monitoring.-
Describe performance monitoring commands - top, ps, du,get system information- uname,
hostname
20. What is DNS Server?
Description, Advantages different types of DNS Servers
21.Explain FTP in Detail.
The File Transfer Protocol (FTP) is designed to transfer large files across a network from one
system to another, FTP works on a client/server model. Describe anonymous ftp file server,
permission to restrict remote users, FTP server tools
Part C
Answer up to three questions.Each question carries15 marks (Maximum marks 30).
22. Explain any five file processing commands in Linux with its syntax and suitable
examples.
23. a)Explain function in shell with suitable example(6 marks). How will you pass
parameters in shell?(4 marks)b)Write a shell script to copy all files with .c extension in the
current working directory to a sub directory.(5 marks)
24.Explain the common administrative tasks in Linux. – listing 3marks explanation 12 marks
25.Write a note on Apache Server.(15 marks)