117-101 DUMPS | LPI

Latest LPI 117-101 DUMPS Real Exam Download 161-170

September 9, 2013

Ensurepass

QUESTION 161

The command echo $! will produce what output?

A. the process id of last background command

B. the exit status of the last command

C. the exit status of the last background command

D. the process id of the current shell

E. the name of the command being executed

Answer: A


QUESTION
162

Given the following output:

Prompt > myapp

[1]+ Stopped myapp prompt>

Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?

A. bg myapp

B. continue myapp

C. exec myapp

D. fg myapp

E. myapp &

Answer: D


QUESTION
163

What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

A. cut -d: -fl,3 /etc/passwd

B. chop -c l,3 /etc/passwd

C. tac l-3 /etc/passwd

D. fmt -u /etc/passwd

Answer: A


QUESTION
164 CORRECT TEXT

What command can put suspended jobs into the background?

Answer: bg


QUESTION
165

In order to append the output of ls to a file called bazz, which of the following command lines would you use?

A. ls > bazz

B. ls > & bazz

C. ls &> bazz

D. ls >> bazz

Answer: D


QUESTION
166

Which shell built-in command can be used to create a shortcut or pseudonym for a longer command? Assume a modern bourne-like shell, such as bash.

A. shortcut

B. ln

C. sudo

D. link

E. alias

Answer: E


QUESTION
167

Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?

A. sed ‘s/foo/foobar/g’ file1.txt

B. sed ‘s/foo/foobar/g’ file1.txt > file1.txt

C. sed ‘s/foo/foobar/g’ file1.txt | file1.txt

D. sed -i ‘s/foo/foobar/g’ file1.txt

E. sed -i ‘s/foo/foobar/g’ file1.txt > file1.txt

Answer: D


QUESTION
168

When reading man pages, a lot of extra characters are shown on screen. Which of the following commands can help to deal with this problem?

A. col

B. grep

C. more

D. pg

E. row

Answer: C


QUESTION
169

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.1og?

A. cat < myapp | cat > file1.1og

B. myapp 0>&1 | cat > file1.1og

C. myapp | cat > file1.1og

D. myapp| tee file1.1og

E. tee myapp file1.1og

Answer: D


QUESTION
170

Which of the following commands is run last during boot on a system with quotas enabled?

A. fsck

B. mount

C. quotacheck

D. quotaon

Answer: D

Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.