Download LPI.101-500.VCEplus.2024-08-06.133q.vcex

Download Exam

File Info

Exam LPIC-1 Exam 101
Number 101-500
File Name LPI.101-500.VCEplus.2024-08-06.133q.vcex
Size 114 KB
Posted Aug 06, 2024
Download LPI.101-500.VCEplus.2024-08-06.133q.vcex


How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

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?


  1. By using the command :repeat followed by the number and the command.
  2. By specifying the number right in front of a command such as 4l or 2yj.
  3. By selecting all affected lines using the shift and cursor keys before applying the command.
  4. By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
Correct answer: B



Question 2

Which of the following files, located in the user home directory, is used to store the Bash history?


  1. .bash_history
  2. .bash_histfile
  3. .history
  4. .bashrc_history
  5. .history_bash
Correct answer: A



Question 3

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


  1. HISTFILE
Correct answer: 1



Question 4

Which of the following commands displays the contents of a gzip compressed tar archive?


  1. gzip archive.tgz | tar xvf -
  2. tar ztf archive.tgz
  3. gzip -d archive.tgz | tar tvf -
  4. tar cf archive.tgz
Correct answer: B



Question 5

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


  1. grep'/$' foo
  2. grep '/#' foo
  3. grep -v '/$' foo
  4. grep -v '/#' foo
Correct answer: C



Question 6

Which of the following commands is used to change options and positional parameters for a running Bash?


  1. history
  2. set
  3. bashconf
  4. setsh
  5. envsetup
Correct answer: B



Question 7

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?


  1. sed '/bob/Bob' letter > newletter
  2. sed s/bob/Bob/ letter < newletter
  3. sed's/bob/Bob' letter > newletter
  4. sed 's/bob/Bob/g' letter > newletter
  5. sed 's/bob, Bob/' letter > newletter
Correct answer: D



Question 8

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)


  1. source /usr/local/bin/runme.sh
  2. . /usr/local/bin/runme.sh
  3. /bin/bash /usr/local/bin/runme.sh
  4. /usr/local/bin/runme.sh
  5. run /usr/local/bin/runme.sh
Correct answer: AB



Question 9

Regarding the command: nice -5 /usr/bin/prog Which of the following statements is correct?


  1. /usr/bin/prog is executed with a nice level of -5.
  2. /usr/bin/prog is executed with a nice level of 5.
  3. /usr/bin/prog is executed with a priority of -5.
  4. /usr/bin/prog is executed with a priority of 5.
Correct answer: B



Question 10

Which shell command is used to continue background execution of a suspended command?


  1. &
  2. bg
  3. cont
  4. exec
  5. :&
Correct answer: B









PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files