LPIC-1 Exam 101 (Linux Administrator) Free Practice Exam Questions

51 real LPIC-1 Exam 101 (Linux Administrator) exam questions with answers and AI explanations. LPI certification prep — page 4 of 6.

  1. Question 35: Which grep command will print only the lines that do not end with a / in the file foo?
  2. Question 36: Which of the following commands is used to change options and positional parameters for a running Bash?
  3. Question 37: Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
  4. Question 38: Which of the following shell redirections will write standard output and standard error output to a file named filename?
  5. Question 39: In the vi editor, which of the following commands will copy the current line into the vi buffer?
  6. Question 40: Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
  7. Question 41: Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
  8. Question 42: Which of the following commands will print the last 10 lines of a text file to the standard output?
  9. Question 43: Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
  10. Question 44: Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?