Linux Final Exam | | Questions & Answers (Rated A+)
Linux Final Exam | | Questions & Answers (Rated A+) Linux Final Exam | | Questions & Answers (Rated A+) Which of the following files/directories stores scripts that are run when the system starts? - ANSWER - /etc/inetd.d Which of the following commands is used for port scanning? - ANSWER - nmap Which of the following files is modified when a user wants to add or remove daemon definitions? - ANSWER - /etc/ Which of the following is an open source tool for network exploration and security auditing? - ANSWER - nmap Which of the following commands identifies which processes are using a particular file or directory? - ANSWER - fuser Which of the following commands can be used to limit the system's resources? - ANSWER - ulimit Which of the following commands should regular users use to run commands that can only be executed by root? - ANSWER - sudo Which of the following commands is used to display all user-defined variables in a sorted list? - ANSWER - set John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He wants to run two programs, "foo" and "bar". The "foo" command does use the most common conventions for returning information. He also wants to ensure that bar is executed if and only if foo has executed successfully. Which of the following command sequences will John use to accomplish the task? - ANSWER - foo && bar; Which of the following symbols in the beginning of the first line in a shell script specifies the shell used to run the script? - ANSWER - #! Which of the following constructs is used to completely exit a loop? - ANSWER - break Which of the following commands runs a script without creating a subshell and exits the current shell after execution by default? - ANSWER - exec Which of the following commands is used to assign new names to regular commands? - ANSWER - alias
Document information
- Uploaded on
- August 9, 2023
- Number of pages
- 37
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers