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

Which of the following key-combinations are used to view a file in two windows in a single vim screen?

Each correct answer represents a complete solution. Choose two.

A.

Ctrl-w, v

B.

Ctrl-w, s

C.

:wq

D.

:q!

You work as a Network Administrator for company.com Inc. The company has a Linux-based network. A job in the print queue is no longer in use. You want to remove this job from the print queue. Which of the following commands will you use to accomplish the task?

A.

lprm

B.

lpc

C.

lpq

D.

lpr

Fill in the blank with the command to complete the statement below. Do not enter the full path of the command. The ________ command is used to compare the contents of two files for differences in the Red Hat operating system.

A.

diff

You work as the Network Administrator for Perfect solutions Inc. The company has a Linux-based Network. You are a root user on the Red Hat operating system. You want to grant ownership of the file foofile to a user John. Which of the following commands should you use to accomplish this task?

A.

chown John foofile

B.

chmod John foofile

C.

chgrp foofile John

D.

chown foofile John

You work as the Network Administrator for McNeil Inc. The company has a Linux-based network.

You are a root user on the Red Hat operating system. You want to see first five lines of the file

/etc/passwd. Which of the following commands should you use to accomplish the task?

A.

head /etc/passwd

B.

head -n 5 /etc/passwd

C.

tail -n 5 /etc/passwd

D.

head 5 -n /etc/passwd

You work as a Network Administrator for Perfect World Inc. The company has a Linux-based network. You have configured a Linux server to connect to the Internet. Before connecting it to the

Internet, you want to check all the files on which SUID has been set. Which of the following commands will you choose to list all such programs?

A.

find /-perm -2000

B.

ls -l

C.

ls -suid

D.

find /-perm -4000

Which of the following are the Graphical Mail clients in Red Hat Enterprise Linux?

Each correct answer represents a complete solution. Choose two.

A.

Pidgin

B.

Mozilla

C.

Evolution

D.

mutt

You want to run a program in future. However, you do not want to run it more than once. Which of the following commands will you use to accomplish the task?

A.

rsync

B.

at

C.

crontab

D.

sync

You work as a Network Administrator for Net Perfect Inc. The company has a Linux-based network.

By using the VI utility, you have created a document that has 100 lines. You want to replace all the occurrences of "net" with "Net" in the first 50 lines of the document. Which of the following commands will you use?

A.

:1,$ s/net/Net/g

B.

:1,100 s/net/Net/g

C.

:1,50 s/net/Net/g

D.

:s/net/Net/g

Which of the following commands is used to append the list of files in the /tmp directory to an existing file named deletelater.txt?

A.

ls /tmp > deletelater.txt

B.

ls deletelater.txt /tmp

C.

ls /tmp deletelater.txt

D.

ls /tmp >> deletelater.txt