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

RedHat RH033 - Red Hat Linux Essentials

Page: 1 / 5
Total 153 questions

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

The permissions on a file named Report are shown below:

rwxr--r--

You want to add a sticky bit to the file. Which of the following commands will you use?

A.

chmod 2744 report

B.

chmod 4744 report

C.

chmod 7744 report

D.

chmod 1744 report

Which of the following statements are true about file permissions?

Each correct answer represents a complete solution. Choose three.

A.

The execute permission means that the file can be run if it is a program or script.

B.

The write permission means that the file can be edited and saved.

C.

The read permission means that only the file name can be read not the contents of the file.

D.

The read permission means that the contents of the file can be seen with a command such as cat or less.

Mark works as a Network Administrator for company.com Inc. The company has a Linux-based network. A printer is configured on the network. Mark wants to see the content of a print queue.

Which of the following commands will he use to accomplish the task?

A.

lprm

B.

lpstat -a

C.

lpq

D.

lpr

Which of the following commands can you use to see only the last ten lines of a file?

Each correct answer represents a complete solution. Choose all that apply.

A.

head

B.

tail -10

C.

head -10

D.

tail

Which of the following commands is most useful for viewing large files?

A.

cp

B.

cat

C.

less

D.

touch

You are working with the vi editor and writing a textfile. Which of the following commands will you use if you want to move the cursor 3 characters to the right?

A.

3b

B.

3w

C.

3l

D.

3h

You work as the Network technician for McNeil Inc. The company has a Linux-based Network. You are working on the Red Hat operating system. You want to remove some write protected files and directories. Which of the following commands should you use to accomplish this task?

A.

rm -rf

B.

rm -f

C.

rmdir

D.

rm

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 view all files with a size of over 50 megabytes on your system. Which of the following commands should you use to accomplish the task?

A.

find -size +50M

B.

find -size -50M

C.

find -size 50M

D.

find size +50M

You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. A printer is configured on the network. You want to remove a file from a print queue. Which of the following commands will you use to accomplish this?

A.

LPR

B.

LPQDEL

C.

LPRM

D.

LPQ

You have recently been appointed as a Network Administrator for Rick International Inc. The company has a Linux-based network. You have to print an important file named secure.txt urgently.

You therefore want to know what printers are currently configured on your computer and how you can connect to them. Which of the following commands will you use to accomplish the task?

A.

lpstat -p

B.

lpstat -s

C.

lpstat -d

D.

lpr