Unit1 - Subjective Questions

CSE325 • Practice Questions with Detailed Answers

1

Explain the architecture of the Linux Operating System with a neat diagrammatic representation.

2

Differentiate between the Debian and Red Hat Linux distribution families with examples.

3

Describe the Filesystem Hierarchy Standard (FHS) in Linux. Explain the purpose of /bin, /etc, /var, /home, and /root.

4

Explain the concept of File Permissions in Linux. How would you calculate the octal value to set a file's permission to rwxr-xr--?

5

Distinguish between Hard Links and Soft Links (Symbolic Links) with respect to inode numbers and file deletion.

6

Explain the significance of the following commands: pwd, mkdir, rmdir, and man.

7

What are Wildcards in Linux? Explain the usage of *, ?, and [] with examples.

8

Describe the mechanism of I/O Redirection and Piping in Linux using operators >, >>, <, and |.

9

Explain the structure and purpose of the /etc/passwd and /etc/shadow files.

10

Compare the commands useradd and adduser. What are the steps performed by the system when a new user is created?

11

How are groups managed in Linux? Explain the commands groupadd, usermod, and gpasswd.

12

What is the Sudo mechanism? Explain the purpose of the /etc/sudoers file and the visudo command.

13

Explain the usage of chown and chgrp commands with appropriate syntax.

14

What is a Package Manager in Linux? Differentiate between Low-level and High-level package tools.

15

Explain the concept of Repositories in Linux Package Management. How do you update the repository list in Ubuntu/Debian?

16

Define the purpose of the tar command. Explain the flags -c, -x, -v, -f, and -z.

17

Discuss the process of managing software using RPM and YUM. List commands to install, remove, and update packages.

18

Explain the utility of grep command with Regular Expressions. Explain options -i, -r, and -v.

19

Describe the ps and top commands for process management. How can you terminate a process using CLI?

20

What are Environment Variables in Linux? How do you view and set them? Explain the PATH variable.