1) Which file contains user account information in Linux? a) a) /etc/passwd b) b) /etc/user c) c) /etc/profile d) d) /etc/accounts 2) How do you search for a specific text within a file in Linux? a) a) find b) b) locate c) c) grep d) d) search 3) Which of the following commands is used to change file permissions? a) a) chmod b) b) chperm c) c) setperm d) d) chown 4) Which command is used to display the manual page of a command? a) info b) b) man c) c) help d) d) guide 5) Which command can be used to check disk usage in Linux? a) a) df b) b) du c) c) disk d) d) space 6) What is the purpose of the 'sudo' command in Linux? a) a) To switch to the superuser b) b) To list users c) c) To shutdown the system d) d) To manage disk partitions 7) Which of the following commands is used to display the last few lines of a file? a) a) tail b) b) head c) c) end d) d) last 8) What is the purpose of the 'chmod' command? a) a) Change the file owner b) b) Change the file permissions c) c) Change the file name d) d) Change the file type 9) Which of the following commands is used to display the network configuration? a) ifconfig b) ipconfig c) netstat d) route 10) What does the 'df' command display? a) a) File system disk space usage b) b) Disk fragmentation c) c) Deleted files d) d) File descriptors 11) What is the primary purpose of a kernel in an operating system? a) a) Manage user interfaces b) b) Control system security c) c) Manage system resources and hardware d) d) Provide application software 12) What is virtual memory in an operating system? a) a) Memory that appears to exist as main storage but is actually a backup b) b) Memory used to store frequently accessed data c) c) An illusion of more memory created by using disk space d) d) High-speed cache memory 13) What does GUI stand for in the context of operating systems? a) a) General User Interface b) b) Graphical User Interface c) c) Global User Interface d) d) Group User Interface 14) Who founded the Linux Kernel? a) A) Ken Thompson and Dennis Ritchie b) B) Linus Torvalds c) C) Linus Torvalds and Ken Thompson d) D) Richard Stallman 15) Which symbol represents the top-level directory in Linux? a) A) ~ b) B) @ c) C) # d) D) / 16) Which Linux command is used to count the total number of lines, words, and characters in a file? a) A) count b) B) wcount c) C) wc d) D) countw 17) Which is/are the directories that come under the Binary directory? a) /bin b) /sbin c) /lib d) /opt e) All of the above 18) The directory is a type of file? a) Yes b) No 19) Which symbol represents the user's home directory? a) ~ b) @ c) # d) / 20) Which Linux command with vi Editor is used to delete a single character? a) d b) r c) x d) c 21) Which Linux command is used to see all the hidden files? a) ls b) ls -h c) ls -a d) dir -a 22) Which Linux command is used to create a new file? a) create b) file c) tch d) touch 23) Just like the Windows Search command, which command is used in Linux? a) search b) find c) findall d) locate 24) Which argument with locate command helps us to ignore the case while searching the file in the Linux system? a) -c b) -i c) -a d) -x 25) If you want any command to be done with administrative or root privileges, you can use the ___ command. a) sud b) sudo c) super d) superuser 26) The ___ command gives you your IP address in your network. a) hostname b) hostname -I c) host -I d) hostname -i 27) Which Linux command is used to check your connection to a server? a) connection b) isconnect c) check d) ping 28) OSS stands for ___ a) Open System Software b) Open Source Software c) Open System Source d) None of the above 29) Which Linux command is used to force all buffers to disk? a) sync b) fflush c) flush d) clearx 30) The ___ term stands for the calendar. It displays the current month's calendar with the current day highlighted. a) calendar b) calc c) cal d) None of the above 31) Which Linux command is used to record a user login session in a file? a) script b) style c) log d) record 32) Which Linux command is used to print a file? a) lp b) pr c) print d) ptr 33) Which is the correct syntax to print the file using the default printer in Linux? a) lp [printer_name] [path or filename] b) lp -a [printer_name] [path or filename] c) lp -d [printer_name] [path or filename] d) lp -d [path or filename] [printer_name] 34) Which is the correct syntax to print the file using the default printer with multiple copies in Linux? a) lp -d -n [printer_name] [path or filename] b) lp -d -n 5[printer_name] [path or filename] c) lp -d [printer_name] -n [path or filename] d) lp -d [printer_name] -n 5 [path or filename] 35) Which argument and value with "lp" command specify the page orientation while printing a file? a) -o landscape/portrait b) -o l/p c) -o land/prt d) -or landscape/portrait 36) How many types of users are in Linux? a) 2 b) 3 c) 4 d) 5 37) The ___ command in Linux is used to convert the content of input in different formats with the octal format as the default format. a) od b) oct c) o_d d) octal 38) Which Linux command displays "cat" command's output with syntax highlighting or colorizing? a) xcat b) ccat c) coloredcat d) colored 39) The operators ">" and ">>" are known as ___. a) Insertion operators b) Exertion operators c) Redirection operators d) None of the above 40) What command is used to remove the directory? a) A. rdir b) B. remove c) C. rd d) D. rmdir 41) What command do you use to create Linux file systems? a) A. fdisk b) B. mkfs c) C. fsck d) D. mount 42) Which of the following is not a communication command? a) A. grep b) B. mail c) C. mesg d) D. write 43) How can you navigate around virtual consoles? a) A. Alt+Function Key b) B. Ctrl+Function Key c) C. Ctrl+Alt+Del d) D. Alt+a+w+Function Key 44) RPM a) A. stands for Red Hat Package Manager b) B. is used to install, uninstall, and manage packages c) C. is used to keep track of the users d) D. assigns a dynamic IP address 45) _____ tool allows you to change your default X Window desktop a) A. utilinux b) B. cempre c) C. switchdesk d) D. window 46) In what file can you specify which users are not allowed to access a system via FTP? a) A. /etc/ftpusers b) B. /etc/hosts.deny c) C. /etc/ftpaccess d) D. All of the above 47) The location of some system configuration and system administrator executable files, is: a) A. /home b) B. /proc c) C. /var d) D. /sbin 48) Which of the following is not a filter command? a) A. sort b) B. wc c) C. grep d) D. cat 49) What command can be used to get information about yourself? a) A. which b) B. pwd c) C. i /4 d) D. who am i 50) What of the following tool is used to check and repair Linux file systems? a) A. mkfs b) B. fdisk c) C. fsck d) D. mount 51) Which of the following is the main Apache configuration file? a) A. httpd.conf b) B. apache.con c) C. /etc/profile d) D. system.ini 52) Which of the following command can be used to rename a file in LINUX? a) A. ren b) B. mv c) C. remove d) D. change 53) The IP address are based on a) A. 16-bit addresses b) B. 32-bit addresses c) C. 64-bit addresses d) D. 8-bit addresses 54) What command is used to terminate a process? a) A. kill b) B. cancel c) C. haltsys d) D. shutdown 55) What is the following syntax used for command 2> /dev/null a) A. Send the output of command to a file called /dev/null b) B. Discard standard error entirely. c) C. Append the output of command to a file called /dev/null d) D. Send error messages from command to a file called /dev/null 56) What is the purpose of the following operator? >> a) A. It is used to send the output of one command so it becomes the input of a second command. b) B. It is used to send both input and output to the same file. c) C. It is used to overwrite the contents of a file. d) D. It appends data to a file without overwriting it. 57) Which file is the list of commands you recently entered stored in? a) A. .bashrc_history b) B. .history c) C. .bash_history d) D. .bash_list_history 58) How would you switch to virtual terminal 1? a) A. Ctrl+Alt+F1 b) B. Alt+F1 c) C. Ctrl+F1 d) D. Shift+Ctrl+F1 59) .............is the command used to create new directory. a) A. mkdir b) B. newdir c) C. dir d) D. mk/dir 60) "cat" is the command used to a) A. change directory b) B. move directory c) C. come out of shell d) D. see the contents of file 61) Which of the following commands can be used to change the group owner of a file? a) A. chown b) B. chmod c) C. chattr d) D. attrch 62) Which command to use for complete details of a command on the shell? a) A. help b) B. ? c) C. man d) D. hlp 63) You need to change some settings on your Apache server. Which is the best tool to use for logging in remotely? a) A. rsh b) B. ssh c) C. rlogin d) D. telnet 64) Which command reduces the size of a file? a) A. pzip b) B. gcat c) C. pgcat d) D. gzip

Bảng xếp hạng

Phong cách trực quan

Tùy chọn

Chuyển đổi mẫu

Bạn có muốn khôi phục tự động lưu: không?