Linux – Section 1

1. What command is used to count the total number of lines, words, and characters contained in a file?

A. countw
B. wcount
C. wc
D. count p
E. None of the above

Correct Answer: C. wc

2. What command is used to remove files?

A. dm
B. rm
C. delete
D. erase
E. None of the above

Correct Answer: B. rm

3. What command is used to remove the directory?

A. rdir
B. remove
C. rd
D. rmdir
E. None of the above

Correct Answer: D. rmdir

4. What command is used with vi editor to delete a single character?

A. x
B. y
C. a
D. z
E. None of the above

Correct Answer: A. x

5. What hardware architectures are not supported by Red Hat?

A. SPARC
B. IBM-compatible
C. Alpha
D. Macintosh
E. None of the above

Correct Answer: D. Macintosh

Leave A Comment?

two × one =