Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

How can the current directory and its subdirectories be searched for the file named MyFile.xml?

A.

find . -name MyFile.xml

B.

grep MyFile.xml | find

C.

grep -r MyFile.xml .

D.

less MyFile.xml

E.

search Myfile.xml ./

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

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 | teefile1.log

E.

tee myapp file1.log

Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?

A.

apropos

B.

which

C.

find

D.

query

E.

whereis

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

A.

i (lowercase)

B.

P (uppercase)

C.

p (lowercase)

D.

U (uppercase)

E.

u (lowercase)

When the command echo $$ outputs 12942, what is the meaning of 12942?

A.

It is the process ID of the echo command.

B.

It is the process ID of the current shell.

C.

It is the process ID of the last command executed.

D.

It is the process ID of the last command which has been placed in the background.

Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file?(Choose two)

A.

grep -v fred data_file

B.

grep '[f]red' data_file

C.

egrep fred data_file

D.

grep '[Ff]red' data_file

E.

grep -i fred data_file

How can the normal output of a command be written to a file while discarding the error output?

A.

command >2>file 1&>/dev/null

B.

command < output > /dev/null

C.

command > discard-error > file

D.

command > /dev/null 2&>1 output

E.

command >file 2>/dev/null

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

A.

shutdown -r now

B.

shutdown -r "rebooting"

C.

telinit 6

D.

telinit 0

E.

shutdown -k now "rebooting"

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

A.

The command is SetUID and it will be executed with the effective rights of the owner.

B.

The command will be executed with the effective rights of the group instead of the owner.

C.

The execute flag is not set for the owner. Therefore the SetUID flag is ignored.

D.

The command will be executed with the effective rights of the owner and group.