Linux Foundation Certified System Administrator (LFCS) Free Practice Exam Questions

124 real Linux Foundation Certified System Administrator (LFCS) exam questions with answers and AI explanations. Linux Foundation certification prep — page 7 of 13.

  1. Question 72: What command will generate a list of user names from /etc/passwd along with their login shell?
  2. Question 73: In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
  3. Question 74: Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
  4. Question 76: Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content belo…
  5. Question 77: In compliance with the FHS, in which of the directories are man pages found?
  6. Question 78: Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
  7. Question 79: Which of the following commands can remove a user from a group?
  8. Question 80: Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
  9. Question 81: Which of the following commands will reduce all consecutive spaces down to a single space?
  10. Question 83: In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?