MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Fedora
Quiz 3
1
2
3
4
5
6
7
8
9
10
Q.1
Specific configuration files are installed in
/etc directory
/lib directory
/root directory
/bin directory
Q.2
We install a new package in linux system, then
all the files of the packages are installed in a single directory
different files are installed at different locations of the file system
package works just after extraction, installation is not required
none of the mentioned
Q.3
Option is used by sed to specify that the following string is an instruction or set of instructions?
-n
-e
-f
-i
Q.4
Command “sed -n ‘/mcqpoint/p’ old.txt” will
print the lines containing the word ‘sanfoundry’ in file oltxt
delete the lines containing the word ‘sanfoundry’ in file oltxt
will generate an error message
none of the mentioned
Q.5
Command will delete all the blank lines in file old.txt?
sed ‘/d’ oltxt
sed ‘/^/d’ oltxt
sed ‘/^$/d’ oltxt
sed ‘/^*/d’ oltxt
Q.6
The command to display the current date in the form dd/mm/yyyy.
date +%d/%m/%y
date +”%d/%m/%y”
date +/%d/%m/20%y
date +”/%d/%m/20%y”
Q.7
Option of rm command is used to remove a directory with all its subdirectories
–b
–o
–p
–r
Q.8
Command is used to display disk consumption of a specific directory
du
ds
dd
dds
Q.9
Command creates an empty file if file does not exist?
cat
touch
ed
read
Q.10
Command is used to perform backup in unix?
backup
cpio
zip
gzip
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page