Quiz
Chapter 1 Quiz
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (21)
1Which of the following commands is used to convert text files for printing?
- Aexport
- Bpr
- Ctr
- Duniq
2Which of the following symbols redirects output to append an existing file in a Linux computer?
- A<<
- B<
- C|
- D>>
- E>
- F;
3Which of the following options is used with the nl command to number the non-empty lines only?
- Ah
- Ba
- Ct
- Dn
4Which of the following symbols is used to redirect all output including errors to a file?
- A2>
- B&>
- C>
- D<
5Which of the following symbols is used to redirect errors to a file?
- A&>
- B<
- C2>
- D>
6Which of the following symbols is used to redirect the output of one command as the input to another command?
- A|
- B&
- C@
- D*
7Which of the following commands shows first ten lines of a file if no arguments are passed?
- Ahead
- Bmore
- Ctail
- Dtop
8Which of the following symbols is expanded when a pattern is matched?
- A!
- B$
- C#
- D*
9Which of the following symbols matches any single character?
- A#
- B*
- C?
- D$
10Which of the following characters is used to direct the output of a command to a file?
- A&
- B|
- C>
- D<
11Which of the following commands is used to reformat a paragraph?
- Ased
- Btar
- Cfmt
- Dsort
12Which of the following symbols is used to redirect a file as an input to a command?
- A<
- B&>
- C2>
- D>
13Which of the following metacharacters is used to send the output of one command as the standard input of the next command?
- A>
- B<
- C&
- D|
14Which of the following conditions ic necessary for using the join command?
- AThe files should be sorted.
- BThe files should only be owned by root
- CThe characters should be in lower case
- DThe files should have at least 100 characters.
15Which of the following commands is used to set an environmental variable?
- Aunset
- Bset
- Cwhich
- Dexport
16Which of the following symbols is used to connect the output of one command to the input of another command?
- A@
- B*
- C|
- D!
17Which of the following commands is used to count the number of characters in a file?
- Awc -a
- Bwc -w
- Cwc -l
- Dwc -m
18Which of the following commands is used to concatenate and print lines of text files to standard output in reverse order?
- Agrep
- Btail
- Ctac
- Dcat
19Which of the following commands is used to view the output on a screen as well as to save it in a file?
- Atee
- Buniq
- Ctouch
- Dxargs
20Which of the following characters is used to direct the contents of a file to a command?
- A<
- B!
- C&
- D>
21Which of the following commands is used to convert tabs in a given file into spaces?
- Aexpand
- Bexport
- Cdsmeg
- Dfmt
Information
- Description
- Linux Command-Line Tools
- Author
- krabby patty
- Language
- English
- Views
- 98
- Tags
- Rating
- No ratings yet Rate this quiz