Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

RH033 Exam Dumps - Red Hat Linux Essentials

Go to page:
Question # 9

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

You are working as a root user on the Red Hat operating system. Joe is a user in your company. You want to remove Joe's tmp files that are 3 days older. Which of the following command syntaxes should you use to accomplish the task?

A.

find /tmp -cmin +3 -user Joe -ok rm {} \;

B.

find /tmp -ctime +3 user Joe -ok rm {} \;

C.

find /tmp -ctime +3 -user Joe -ok rm {} \;

D.

find /tmp -cmin +3 user Joe -ok rm {} \;

Full Access
Question # 10

Which of the following commands pipes stdout and stderr from cmd1 to cmd2?

A.

cmd2 | cmd1

B.

cmd2 2>&1 | cmd1

C.

cmd1 | cmd2

D.

cmd1 2>&1 | cmd2

Full Access
Question # 11

What will be the output of the following command? echo $(date %M) > date.txt

A.

It will print a string "date %M".

B.

The current time (Month) will be written in the date.txt file.

C.

The current time (Minutes) will be written in the date.txt file.

D.

It will create a variable $(date %M).

Full Access
Question # 12

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He wants to break a dat a.txt file, 200MB in size, into two files in which the size of the first file named data.txt.aa should be150MB and that of the second file named data.txt.ab should be 50MB. To accomplish his task and to further delete the data.txt file, he enters the following command: split --verbose -b 150m data.txt data.txt. ; rm -vf data.txt

Which of the following commands can John use to join the splitted files into a new data.txt file?

A.

vi data.txt.*

B.

less data.txt.* > data.txt

C.

cat data.txt.* > data.txt

D.

vi data.txt.* > data.txt

Full Access
Question # 13

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. Rick, a Sales Manager, has a permission issue on a file. You want to know the names of groups of which Rick is a member. You want to store the information in a text file named

RickGroup.txt. Which of the following commands will you use to accomplish the task?

A.

ls rick /etc/group > RickGroup.txt

B.

ls /etc/group rick > RickGroup.txt

C.

grep /etc/group rick > RickGroup.txt

D.

grep rick /etc/group > RickGroup.txt

Full Access
Question # 14

You work as the Network administrator for McNeil Inc. The company has a Linux-based network. You are working as a root user on the Linux operating system. You have created a PostScript file on your system. You want to convert this file to a PDF file. Which of the following commands should you use to accomplish the task?

A.

ps2pdf

B.

evince

C.

pdf2ps

D.

enscript

Full Access
Question # 15

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He wants to change the modified date and time of the file private.txt to 11 Nov 2009 02:59:58 am. Which of the following commands will John use to accomplish his task?

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

A.

touch -t 200911110259.58 private.txt

B.

rm private.txt #11 Nov 2009 02:59:58 am

C.

touch private.txt #11 Nov 2009 02:59:58 am

D.

touch -d "11 Nov 2009 02:59:58 am" private.txt

Full Access
Question # 16

Which of the following commands is used to count the number of bytes in a file?

A.

wc -l filename

B.

wc -c filename

C.

wc -m filename

D.

wc -w filename

Full Access
Go to page: