ExamGecko
Home / LPI / 101-500 / List of questions
Ask Question

LPI 101-500 Practice Test - Questions Answers, Page 11

Add to Whishlist

List of questions

Question 101

Report Export Collapse

CORRECT TEXT

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

Become a Premium Member for full access
  Unlock Premium Member

Question 102

Report Export Collapse

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

Become a Premium Member for full access
  Unlock Premium Member

Question 103

Report Export Collapse

When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?

Become a Premium Member for full access
  Unlock Premium Member

Question 104

Report Export Collapse

When given the following command line. echo "foo bar" | tee bar | cat Which of the following output is created?

Become a Premium Member for full access
  Unlock Premium Member

Question 105

Report Export Collapse

Which of the following commands can be used to determine how long the system has been running?

(Choose TWO correct answers.)

Become a Premium Member for full access
  Unlock Premium Member

Question 106

Report Export Collapse

Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

Become a Premium Member for full access
  Unlock Premium Member

Question 107

Report Export Collapse

Which of the following explanations are valid reasons to run a command in the background of your shell?

Become a Premium Member for full access
  Unlock Premium Member

Question 108

Report Export Collapse

What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /usr/share/dict/words

Become a Premium Member for full access
  Unlock Premium Member

Question 109

Report Export Collapse

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

Become a Premium Member for full access
  Unlock Premium Member

Question 110

Report Export Collapse

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?

Become a Premium Member for full access
  Unlock Premium Member
Total 246 questions
Go to page: of 25