Top 50+ Solved Fedora MCQ Questions Answer
Q. Which command is used to extract intermediate result in a pipeline
a. tee
b. extract
c. exec
d. none of the above
Q. Which command is used to display disk consumption of a specific directory
a. du
b. ds
c. dd
d. dds
Q. Which option of rm command is used to remove a directory with all its subdirectories
a. –b
b. –o
c. –p
d. –r
Q. Write the command to display the current date in the form dd/mm/yyyy.
a. date +%d/%m/%y
b. date +”%d/%m/%y”
c. date +/%d/%m/20%y
d. date +”/%d/%m/20%y”
Q. Which command will delete all the blank lines in file old.txt?
a. sed ‘/d’ old.txt
b. sed ‘/^/d’ old.txt
c. sed ‘/^$/d’ old.txt
d. sed ‘/^*/d’ oltxt
Q. The command “sed -n ‘/mcqmate/p’ old.txt” will
a. print the lines containing the word ‘mcqmate’ in file old.txt
b. delete the lines containing the word ‘mcqmate’ in file old.txt
c. will generate an error message
d. none of the mentioned
Q. When we install a new package in linux system, then
a. all the files of the packages are installed in a single directory
b. different files are installed at different locations of the file system
c. package works just after extraction, installation is not required
d. none of the mentioned
Q. Host specific configuration files are installed in
a. /etc directory
b. /lib directory
c. /root directory
d. /bin directory