Which shell command is used to continue background execution of a suspended command?
A. and
B. bg
C. cont
D. exec
E. :and
Which of the following shell redirections will write standard output and standard error output to a file named filename?
A. 2>and1 >filename
B. >filename 2>and1
C. 1>and2>filename
D. >>filename
E. 1and2>filename
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.)
A. source /usr/local/bin/runme.sh
B. . /usr/local/bin/runme.sh
C. /bin/bash /usr/local/bin/runme.sh
D. /usr/local/bin/runme.sh
E. run /usr/local/bin/runme.sh
Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?
A. /usr/bin/prog is executed with a nice level of -5.
B. /usr/bin/prog is executed with a nice level of 5.
C. /usr/bin/prog is executed with a priority of -5.
D. /usr/bin/prog is executed with a priority of 5.
Which of the following commands is used to change options and positional parameters for a running Bash?
A. history
B. set
C. bashconf
D. setsh
E. envsetup
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
A. sed '/bob/Bob' letter > newletter
B. sed s/bob/Bob/ letter < newletter
C. sed's/bob/Bob' letter > newletter
D. sed 's/bob/Bob/g' letter > newletter
E. sed 's/bob, Bob/' letter > newletter
Which of the following files, located in the user home directory, is used to store the Bash history?
A. .bash_history
B. .bash_histfile
C. .history
D. .bashrc_history
E. .history_bash
Which of the following commands displays the contents of a gzip compressed tar archive?
A. gzip archive.tgz | tar xvf
B. tar ztf archive.tgz
C. gzip -d archive.tgz | tar tvf
D. tar cf archive.tgz
Which grep command will print only the lines that do not end with a / in the file foo?
A. grep'/$' foo
B. grep '/#' foo
C. grep -v '/$' foo
D. grep -v '/#' foo
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?
A. By using the command :repeat followed by the number and the command.
B. By specifying the number right in front of a command such as 4l or 2yj.
C. By selecting all affected lines using the shift and cursor keys before applying the command.
D. By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Lpi exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 101-500 exam preparations and Lpi certification application, do not hesitate to visit our Vcedump.com to find your solutions here.