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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement
< PREVIOUS POSTUnix - Section 3

Leave A Comment?