Pass the RedHat RHCT RH033 Questions and answers with CertsForce

Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions
Questions # 1:

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?

Options:

A.

3b


B.

3w


C.

3l


D.

3h


Expert Solution
Questions # 2:

Which of the following commands will you run to do case-sensitive search for files named

foobar.png?

Options:

A.

locate -name foobar.png


B.

find -iname foobar.png


C.

grep-name foobar.png


D.

find -name foobar.png


Expert Solution
Questions # 3:

You work as a 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 know how many words are present in the file named file1.txt. You type the following command on the terminal: wc file1.txt.

The command displays the following output:

40 245 1800 file1.txt

How many words are present in the file file1.txt?

Options:

A.

40


B.

285


C.

245


D.

1800


Expert Solution
Questions # 4:

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. You want to view the status of the current processes running on a Linux computer. You also want to append this information into the StatPro.txt file without deleting its content. Which of the following commands will you use to accomplish the task?

Options:

A.

ps StatPro.txt


B.

ps >> StatPro.txt


C.

ps | more StatPro.txt


D.

ps > StatPro.txt


Expert Solution
Questions # 5:

Fill in the blank with the appropriate permission to complete the statement below.

__________ is Linux access permission flag bit that allows users to run an executable file with the permissions of the executable's owner.

Options:

A.

SUID


Expert Solution
Questions # 6:

You work as the Network Administrator for Perfect solutions Inc. The company has a Linux-based Network. You are working as a root user. You want to know what the day will be on 20 July 2010.

Which of the following commands should you use to accomplish this task?

Options:

A.

cal


B.

cal 20 July


C.

cal 7 2010


D.

date


Expert Solution
Questions # 7:

You have made a program secure.c to display which ports are open and what types of services are running on these ports. You want to write the program's output to standard output and simultaneously copy it into a specified file. Which of the following commands will you use to accomplish the task?

Options:

A.

less


B.

tee


C.

cat


D.

more


Expert Solution
Questions # 8:

Which of the following key-combinations is used to redo a change undone by a u command in vim?

Options:

A.

Ctrl-w, Arrow


B.

Ctrl-w, s


C.

Ctrl-r


D.

Ctrl-w, v


Expert Solution
Questions # 9:

Which of the following commands displays the inode number of a file in the Linux operating system?

Options:

A.

cat


B.

ls -i


C.

ls -l


D.

ls


Expert Solution
Questions # 10:

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?

Options:

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


Expert Solution
Viewing page 1 out of 5 pages
Viewing questions 1-10 out of questions