LPI Linux Essentials Exam 2023 with 100% correct answers
If you wanted to disable a second network interference in Linux what command would you enter at the shell? ifdown eth1 You have been editing a configuration file using vi. You realize that you've made many mistakes and need to quit without saving the changes so that you can start over. Which command will allow you to do this? :q! Or Q bang What directory would the ~ character represent? The home directory of the currently logged in user. What is the default shell for most Linux distributions Bash You need to troubleshoot a hardware issue. Which command would let you view the kernel ring buffer to see what hardware was just added? dmesg | less (driver message) Which of the following sections give a brief review of the syntax used for a particular command or utility within a man page? SYNOPSIS In which directory could you add files so that a newly created user will automatically have them when they first log in? /etc/skel Which of the following provides binary files containing prewritten code elements or interfaces that programmers can call when writing Linux programs? Libraries You are running a ping command to see if a particular host is set up. How would you specify to the ping command that only five packets get sent to the remote host? ping -c 5 You need to verify that a remote host with a hostname of is up and running. Which of the following commands would you enter at the shell prompt to do this? ping While using vi to edit a file in command mode, you try to use the BACKSPACE key to delete a word, but nothing happens. What's wrong? You have to switch to insert mode. Which command would uncompress the contents in the file '2' bunzip2 How would you add a new user account to a system? useradd newguy
Document information
- Uploaded on
- June 23, 2023
- Number of pages
- 7
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers