Chapter 8: Unix and Linux Operating Systems (Set-1)

In Linux, which core component directly manages hardware resources and provides basic system services to programs

A GNOME desktop
B Bash shell
C Linux kernel
D Apt tool

Which statement best describes why Linux is widely called “open source”

A Source code public
B Free internet required
C No passwords needed
D Only for servers

Which option is a commonly used Linux distribution for beginners with strong desktop support

A MS-DOS system
B Ubuntu Linux
C iOS system
D Solaris Unix

Debian is best known in the Linux world for which key characteristic

A Proprietary license only
B No package manager
C Stable base system
D Single-user design

Fedora is commonly associated with which organization’s ecosystem and innovation focus

A Apple community
B Microsoft community
C IBM mainframes
D Red Hat community

In Linux, which term refers to the superuser account with full system privileges

A Root user
B Guest user
C Local user
D Default user

In Linux, which directory is the typical default location for a user’s personal files and settings

A /etc directory
B /bin directory
C /home directory
D /dev directory

Which directory commonly stores system-wide configuration files on Linux

A /tmp folder
B /etc folder
C /proc folder
D /home folder

Which Linux directory mainly contains essential user command binaries like ls, cp, and cat

A /bin directory
B /var directory
C /usr directory
D /proc directory

Which directory typically holds system administration binaries meant mainly for root or admin tasks

A /home directory
B /tmp directory
C /sbin directory
D /dev directory

Which directory commonly contains variable data like logs, spool files, and cached content

A /bin directory
B /etc directory
C /usr directory
D /var directory

Which directory is commonly used for temporary files that can be deleted automatically

A /etc directory
B /usr directory
C /tmp directory
D /sbin directory

Which directory provides device files representing hardware and virtual devices in Linux

A /dev directory
B /proc directory
C /home directory
D /usr directory

Which virtual filesystem directory exposes running process and kernel information

A /tmp directory
B /proc directory
C /bin directory
D /etc directory

In Linux paths, what does the single forward slash “/” represent

A Home directory
B Current directory
C Root directory
D Parent directory

Which command shows the full path of the current working directory in a terminal

A who command
B date command
C clear command
D pwd command

Which command lists files and directories in the current location by default

A ls command
B cp command
C rm command
D mv command

Which command changes your current directory to a new location

A ls command
B cat command
C cd command
D tar command

Which command creates a new directory with a specified name

A rmdir command
B mkdir command
C touch command
D grep command

Which command removes an empty directory safely without deleting its contents

A rmdir command
B rm command
C mv command
D chmod command

Which command copies a file from one location to another

A cd command
B ps command
C cp command
D kill command

Which command moves or renames a file or directory

A mv command
B cp command
C ls command
D top command

Which command removes a file by name from the filesystem

A man command
B pwd command
C df command
D rm command

Which command displays the contents of a text file directly in the terminal

A touch command
B mkdir command
C cat command
D sudo command

Which command creates an empty file or updates its timestamp without opening it

A grep command
B touch command
C chmod command
D chown command

Which command searches for a text pattern inside files and prints matching lines

A grep command
B tar command
C ps command
D nano command

Which command opens the manual page and help documentation for a Linux command

A cat command
B pwd command
C man command
D rm command

In Linux, which editor is commonly considered beginner-friendly and runs in the terminal

A gcc compiler
B nano editor
C ping tool
D tar tool

Which editor is known for being modal and widely available on Unix-like systems

A calc app
B zip tool
C ssh server
D vi editor

In Linux permissions, what does “r” typically represent for a file

A Rename permission
B Run service
C Read permission
D Remove user

In Linux permissions, what does “w” typically allow a user to do

A Write permission
B Watch processes
C Web access
D Wake system

In Linux permissions, what does “x” usually allow for a file

A Export variables
B Extra storage
C Execute file
D Exit terminal

Which command changes file permissions using symbolic or numeric modes

A chown command
B chmod command
C useradd command
D passwd command

Which command changes the owner of a file or directory

A chmod command
B grep command
C mkdir command
D chown command

What is the main purpose of the sudo command in Linux administration

A List file sizes
B Compress directory
C Run as root
D Edit kernel code

In numeric permissions, what does “755” commonly mean for a directory

A rwx r-x r-x
B rw- rw- rw-
C r– r– r–
D r-x rwx r–

What does the umask setting primarily influence on a Linux system

A Current user name
B Default permissions
C CPU clock speed
D Disk partition type

Which term best describes a Linux “shell” in everyday usage

A Disk partition
B Printer driver
C Command interpreter
D Display server

Which feature connects the output of one command directly into another command’s input

A GUI window
B Kernel module
C Boot loader
D Pipe operator

Which redirection sends command output into a file by replacing its existing contents

A > redirection
B | redirection
C & redirection
D * redirection

Which symbol appends command output to the end of a file instead of overwriting

A > operator
B | operator
C >> operator
D ? operator

Which command shows a snapshot list of running processes in the current system

A du command
B ps command
C tar command
D nano command

Which command provides a real-time, updating view of CPU and memory usage with processes

A top command
B cat command
C pwd command
D mkdir command

Which command is commonly used to terminate a process using its PID

A ls command
B cd command
C kill command
D man command

Which command shows available and used disk space for mounted filesystems

A du command
B ps command
C grep command
D df command

Which command estimates disk space used by files and directories

A df command
B du command
C mv command
D chmod command

Which tool commonly creates a single archive file from many files and folders

A grep utility
B ps utility
C tar utility
D ping utility

Which system feature schedules commands to run automatically at specific times repeatedly

A cron scheduler
B root account
C GUI desktop
D mount point

Which command is most commonly used to test basic network reachability to a host

A tar command
B chown command
C ping command
D nano command

Which tool is commonly used to securely connect to a remote Linux system over an encrypted channel

A telnet tool
B ssh command
C ftp tool
D rlogin tool

Leave a Reply

Your email address will not be published. Required fields are marked *