Linux System Administrator Quiz Set 1 Author: CloudVikas Published Date: 13 October 2021 Welcome to Linux System Administrator QUIZ Set 1.Click on Next Button to proceed. 1. In project , you have to send a message to all users .Which utility can you use to send a message to all users currently logged in?Which utility can you use to send a message to all users currently logged in?wallinitwho2. Which two of the following commands do the same thing? (Choose 2) init telinit systemd initd3. What does function a { echo $1; } ; a a b c output?a a b ca ba4. Which command would you use to check your grub version?grub-probegrub-versiongrub-check5. Which quantifier will match 0 or 1 occurrence of the preceding element in a regular expression??-&6. In which of the following files can a regular user store bash-specific configuration to be executed only at login?/etc/profile~/.bash_login7. What is the systemd equivalent of a runlevel called?EndpointTargetDestination8. How do you determine the return value of a script in your shell?echo $?echo ??echo $RETURN9. Which command will show you the device IRQ settings of your system hardware?pspcipslspci10. Which command will show all of your block devices, such as hard disks, even if they aren't mounted?psblklsblkblkps11. Which of the following strings will not be matched by the regular expression 'ab+c'?acabbbcabbc12. What command would you use to enable a kernel module?modprobemoduleprobeprobemodule13. How can we see all of the environment variables for the currently logged in user?envencent14. Where can you add default options that apply to all entries in grub?/etc/default/grub/var/defaults/grub/boot/default/grub15. Which environment variable lists the directories?Which environment variable lists the directories that will be searched for applications and command line tools that you are trying to execute?PATHBASHHOME16. Where are the locations of shared libraries stored on your filesystem?/etc/ld.so.conf/var/ld/so.conf/etc/ld/so.conf17. How do you update your apt package sources?apt-get upgradeapt-get dist-upgradeapt-get update18. What does 'quiet' do when used as a kernel parameter?Disables the network card.Suppresses most boot messages.Disables the system fans.19. Which command will show the disk usage of a specified directory?dfdadu20. What does 'grep' stand for?Global Regular Expression PatternGlobally search a Regular Expression and Print.Global Regular Expression Parser21. What is the lowest niceness a user can assign a process with the nice command?190-2022. Which command will show all of your mounted filesystems and their disk usage?dudadf23. Where are yum repositories defined?In a directory called /etc/yum.repos.confIn a directory called /etc/yum.repos.dIn a file called /etc/yum.repos.d24. How do you temporarily add a directory to your shared library path?Add it to an environment variable called LD_LIBRARY_PATH.Add it to an environment variable called LD_LIB_PATH.Add it to an environment variable called LD_SHARED_DIR.25. Which of the following is one of the most popular default shells in use today?biffbashdish2 out of 1 Email Author: CloudVikas