Ensurepass

QUESTION 241

Which signal is sent by the kill command by default?

A. HUP(1)

B. QUIT(3)

C. KILL(9)

D. TERM(15)

Answer: D


QUESTION
242

What is the purpose of the Bash built-in export command?

A. To allow disks to be mounted remotely.

B. To automate the export of variables for subsequently executed commands.

C. To make the command history available to sub-shells.

D. To run a command as a process in a sub-shell.

E. To save variable settings for future shell invocations.

Answer: B


QUESTION
243

Once a shell variable has been created, how can the variable be removed from the environment?

A. VAR=

B. set -d VAR

C. set -u VAR

D. unset VAR

Answer: D


QUESTION
244

What command will display all of the background tasks running in the current shell?

A. history

B. jobs

C. kill -l

D. list

Answer: B


QUESTION
245

Given the following output: prompt> myapp [1]+ Stopped myapp prompt> Which of the following commands will resume executing the stopped process and make it the current job?

A. bg myapp

B. continue myapp

C. exec myapp

D. fg myapp

E. myapp &

Answer: D


QUESTION
246

Which of the following commands will print the first few lines of a text file to the shell?

A. cat -n 10 filename

B. dump -n 10 filename

C. head -n 10 filename

D. print -n 10 filename

Answer: C


QUESTION
247

When should grep -F or the fgrep command be used to search the content of text files?

A. When files need to be searched that contain non-ASCII text.

B. When only the presence of the search pattern needs to be reported and not every line that matches thesearch.

C. When the text being searched for does not contain any regular expression patterns.

D. When the text files will be searched multiple times. Subsequent calls to fgrep will run faster.

Answer: C


QUESTION
248 CORRECT TEXT

Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)

Answer:

dmesg

/bin/dmesg


QUESTION
249

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

A. halt 1

B. init 1

C. logout -all now

D. runlevel 1

E. shutdown -maintenance now

Answer: B


QUESTION
250

Which of the following commands will write a message to the terminals of all logged in users?

A. bcast

B. mesg

C. print

D. wall

E. yell

Answer: D

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

Comments are closed.