Question: PROBLEM 3: General Purpose Commands - 1 1. echo command is used for _________ a) displaying errors b) displaying operating system details c) displaying diagnostic

PROBLEM 3: General Purpose Commands - 1

1. echo command is used for _________

a) displaying errors

b) displaying operating system details

c) displaying diagnostic messages

d) displaying date and time

Answer:

2. What are escape sequences?

a) special characters beginning with a \ (backslash)

b) special commands

c) special utilities

d) a sequence of characters

Answer:

3. Which of the following is not a valid escape sequence in UNIX?

a)

b) \t

c) \v

d) \d

Answer:

4. Which command is used as an alternative to echo command?

a) ls

b) printf

c) wc

d) ps

Answer:

5. For what purpose bc command is used?

a) as a calculator

b) as an editor

c) as a process table viewer

d) for copying files

Answer:

6. script command is used for___________

a) recording history

b) recording our session

c) recording passwords

d) recording scripts

Answer:

7. Which of the following is a valid option with script command?

a) -b

b) -a

c) -d

d) -x

Answer:

8. mailx command is used for sending and receiving emails.

a) True

b) False

Answer:

9. Which of the following function cannot be performed by mailx command?

a) sending and receiving emails

b) reply to the sender

c) forward, delete and print mails

d) un-send mails

Answer:

10. Which of the following is not an internal command used by mailx?

a) N

b) d

c) q

d) a

Answer:

11. -h option is used with who command for what purpose?

a) display output with header information

b) display output with a more detailed version

c) display output with trailer information

d) display output in columnar form

Answer:

12. Two or more users can have same login name in the output of who command.

a) True

b) False

Answer:

Answer the multiple choice questions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!