Skip to content

Linux System Administration Basics MCQ (Module 1)

Advertisement

Welcome to Module 1 of our Linux System Administration Multiple-Choice Questions series! This module is designed as your first step into the world of Linux system administration. Here, you will encounter a range of questions that cover basic concepts and essential commands fundamental to managing Linux systems. Perfect for beginners or as a refresher for seasoned professionals, this module sets the groundwork for more advanced topics in subsequent modules.

Q1 What is the default port number for SSH?


Q2 Which command is used to display the current directory in Linux?


Q3 What does the ‘chmod +x filename’ command do?


Q4 Which command is used to list all files and directories, including hidden ones?


Q5 What is the purpose of the ‘/etc/fstab’ file?


Q6 Which command will show the system’s current IP address?


Q7 What is the use of the ‘grep’ command?


Q8 Which directory contains the system’s log files?


Q9 What does the command ‘sudo’ stand for?


Q10 Which file system is specifically designed for flash memory devices?


Q11 What is the command to view the content of a file?


Q12 Which command is used to find the location of a command?


Q13 What is the significance of the ‘/home’ directory?


Q14 Which command is used to display disk usage?


Q15 What is the function of the ‘kill’ command?


Q16 What does the ‘/etc/shadow’ file contain?


Q17 Which command is used to edit text files interactively?


Q18 What is the primary function of the ‘apt-get’ command?


Q19 What does the command ‘df -h’ display?


Q20 Which file contains the system’s DNS settings?


Q21 What is the purpose of the ‘crontab’ command?


Q22 Which directory is intended for temporary files in Linux?


Q23 What is the primary purpose of the ‘top’ command?


Q24 Which command will display all currently running processes?


Q25 What is the purpose of the ‘/var’ directory?


Q26 Which file defines the system’s locale settings?


Q27 What does the ‘ln’ command do in Linux?


Q28 What is the use of the ‘tar’ command?


Q29 Which command is used to change file ownership?


Q30 What does the ‘ping’ command do?


Q31 Which directory is the root of the file system hierarchy?


Q32 What does the command ‘useradd’ do?


Q33 What is the purpose of the ‘/boot’ directory?


Q34 Which command will display the kernel version?


Q35 What is the function of the ‘iptables’ command?


Q36 Which command is used to monitor real-time network traffic?


Q37 What does the ‘/etc/passwd’ file contain?


Q38 What is the command to update all packages on a Debian-based system?


Q39 Which command displays the amount of memory used and available on the system?


Q40 What is the purpose of the ‘/etc/hostname’ file?


Q41 Which command is used to compress files using gzip compression?


Q42 What does the ‘ifup’ command do?


Q43 Which command lists all installed packages in Debian-based systems?


Q44 What is the primary function of the ‘/proc’ directory?


Q45 Which command will forcefully unmount a filesystem?


Q46 What is the function of the ‘lsblk’ command?


Q47 What does the ‘systemctl’ command manage?


Q48 Which command is used to update the package list in Debian-based systems?


Q49 What does the ‘man’ command do?


Q50 What is the significance of the ‘/etc’ directory?


Q51 Which command can be used to view the end of a file?


Q52 What is the purpose of the ‘wget’ command?


Q53 Which directory contains the executable files for installed programs?


Q54 What is the command to search for a specific package in Debian-based systems?


Q55 What does the ‘iptables -L’ command do?


Q56 Which command is used to add a user to a group?


Q57 What is the main purpose of the ‘rsync’ command?


Q58 What does the ‘/dev’ directory contain?


Q59 Which command is used to display the routing table?


Q60 What does the ‘nohup’ command do?


Q61 Which command is used to display available disk space on file systems in a human-readable format?


Q62 What does the command ‘history’ do?


Q63 What is the main use of the ‘ssh-keygen’ command?


Q64 What does the ‘mount’ command do?


Q65 Which file contains local DNS entries for hostname resolution?


Q66 What is the command to change the priority of a running process?


Q67 Which command is used to check filesystem integrity?


Q68 What does the ‘alias’ command do?


Q69 What is the purpose of the ‘dd’ command?


Q70 Which command is used to display all active network interfaces?


Q71 What does the ‘jobs’ command do?


Q72 What is the command to display the current system date and time?


You have now completed Module 1 of the Linux System Administration MCQ series. To continue building on this foundation and delve into intermediate topics, please proceed to Linux System Admin MCQ Module 2.

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

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


Back to top