This is set 3 in the ongoing series of MCQ. Hope you enjoyed the first part and Second part of the series. Like first set and second set, this set also contain some basic Linux questions and answers for beginners.
1
Total no of run levels in a Linux system?6
7
5
8
Answer
2
Which command is used to copy entire directory?cp -r
cp -i
cp
none of these
Answer
3
Suppose I am in /etc directory and I want to go to my home directory which command should I use?cd
cd ~
Both A and B
none of these
Answer
4
Which special character should be avoided during naming a file?.(dot)
$
_(underscore)
-(Hyphen)
Answer
5
Which of the following is relative path to /home/sandeep directory?$ cd Desktop/abc
$ cd Downloads/abc
Both a and b
$ cd /etc
Answer
6
Suppose currently I am in /home/sandeep/Downloads/abc. After executing cd ../.., where am I now?/home/sandeep
/home/sandeep/Downloads
/home
None of these
Answer
7
Suppose I am in /etc directoy, after executing cd .(single dot), where am I now?/etc
/(root)
/home
None of these
Answer
8
what is the purpose of -i in rm -i command?It will ask for confirmation before every deletion.
It just an extra option
Answer
9
mv command can be used to ?Move the file to different directory.
Renaming a file
Both a and b.
Only a.
Answer
10
Which of the following command is used to display content of a file in octal format?octal
cat
oct
od
Answer
That's it.
Hope you Enjoyed the MCQ :)
If You Liked This Post Please Take a Time To Share This Post
Oh great post.It will be a great helpful questions for the linux beginner.Thank you this valuable post.All your post are really great.I just love the way of presenting every post.
ReplyDeletebest essay writing service
Awesome blog. I would love to see true life prepared to walk, so please share more informative updates. Great work keeps it up. heart internet coupons
ReplyDelete