Exam 3: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following commands enables the setuid (suid) permission on the executable /bin/foo ?

(Multiple Choice)
4.8/5
(33)

Which variable defines the directories in which a Bash shell searches for executable commands?

(Multiple Choice)
4.8/5
(37)

In compliance with the FHS, in which of the following directories are documentation files found?

(Multiple Choice)
4.9/5
(31)

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

(Multiple Choice)
4.7/5
(37)

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?

(Multiple Choice)
4.8/5
(34)

What is the purpose of the xargs command?

(Multiple Choice)
4.7/5
(36)

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 below the current line?

(Multiple Choice)
4.9/5
(32)

Which grep command will print only the lines that do not end with a / in the file foo?

(Multiple Choice)
4.9/5
(37)

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

(Multiple Choice)
4.7/5
(22)

Which of the following commands set the sticky bit for the directory /tmp?

(Multiple Choice)
4.8/5
(32)

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

(Multiple Choice)
4.9/5
(35)

SIMULATION In which directory must definition files be placed to add additional repositories to yum?

(Short Answer)
4.8/5
(28)

SIMULATION Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

(Short Answer)
4.8/5
(36)

SIMULATION Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

(Short Answer)
4.8/5
(32)

SIMULATION Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

(Short Answer)
4.7/5
(32)

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?

(Multiple Choice)
4.9/5
(42)

Which permissions and ownership should the file /etc/passwd have?

(Multiple Choice)
4.9/5
(38)

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

(Multiple Choice)
4.7/5
(32)

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

(Multiple Choice)
4.8/5
(39)

Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

(Multiple Choice)
4.9/5
(27)
Showing 121 - 140 of 159
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)