[Free] Download New Latest (November) CompTIA LX0-101 Actual Tests 71-80

Ensurepass

QUESTION 71

Which of the following commands moves and resumes in the background the last stopped shell job?

 

A.

run

B.

bg

C.

fg

D.

back

 

Answer: B

 

 

QUESTION 72

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

 

A.

cat < myapp | cat > file1.log

B.

myapp 0>&1 | cat > file1.log

C.

myapp | cat > file1.log

D.

myapp | tee file1.log

E.

tee myapp file1.log

 

Answer: D

 

 

 

 

 

QUESTION 73

Regarding the command:

 

nice -5 /usr/bin/prog

 

Whichof 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.

 

Answer: B

 

 

QUESTION 74

Which of the following command sets the Bash variable named TEST with the content FOO?

 

A.

set TEST=”FOO”

B.

TEST = “FOO”

C.

var TEST=”FOO”

D.

TEST=”FOO”

 

Answer: D

 

 

QUESTION 75

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

 

A.

esc ZZ

B.

ctrl :w!

C.

esc zz

D.

esc :wq!

E.

ctrl XX

 

Answer: AD

 

 

QUESTION 76

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?

 

killall -s _______ daemon

 

Answer: HUP, SIGHUP, 1

 

 

QUESTION 77

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

 

A.

-dirmax

B.

-maxdepth

C.

-maxlevels

D.

-n

E.

-s

 

Answer: B

 

 

QUESTION 78

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

 

Answer: HISTFILE

 

 

QUESTION 79

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

 

A.

!

B.

+

C.

&

D.

%

E.

#

 

Answer: C

 

 

QUESTION 80

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.)

 

A.

find /tmp -uid root -print

B.

find -path /tmp -uid root

C.

find /tmp -user root -print

D.

find /tmp -user root

E.

find -path /tmp -user root -print

 

Answer: CD

 

Free VCE & PDF File for CompTIA LX0-101 Actual Tests

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

This entry was posted in LX0-101 Actual Tests (November) and tagged , , , , , , . Bookmark the permalink.