1. Which of the following commands to reduce all consecutive spaces down one space?
A) t r -r '' ' n'
b.txt
B) tr -c '' b.txt
C) tr -d '' b.txt
D) tr s' '' b.txt
E) tr -s '' b.txt
2. What brand, is added to the end of the command, the command runs in the background as a child process of the current shell?
A) &
B) !
C) *
D) %
E) #
3. What utility would be used to change frequently the file system check is performed ext2 file system without losing any data stored on the file system?
A) tune2fs
B) fsck
C) mke2fs
D) fixe2fs
E) mod2fs
4. Creating a hard link to the file returns an error. What could be the reason?
A) The source file is hidden.
B) The source and destination are on different file systems.
C) The source file is already hard link.
D) The source file read-only.
E) The source file is a shell script.
5. What? symbol inside are regular expressions?
A) Match the previous qualifier zero or one times.
B) None
C) Match literally? make.
D) Match the previous qualifier one or more times.
E) Match the previous qualifier zero or more times.
Leave a comment