05 January 2014

Basic Linux MCQ Questions for Beginners- Set 5

6 comments

linux Question and answer in linux
This is set 5 in the ongoing series of MCQ. Hope you have enjoyed the other parts of the series. In this set also, I will cover some more basic Linux questions and their answer. Hope you will like it.

1

Which of the following commands are used to display last 10 line of the file?

tail filename

tail -10 filename

Both A and B

Only B

Answer

2

Which of the folloeing file responsible for storing basic information about user like UID , GUI , login shell etc in ?

/etc/passwd

/etc/users

/etc/shadows

None of these

Answer

3

Sun Jan 5 11:18:37 IST 2014
hii

Suppose I want to achieve above output using command, which of the following command would help me to achieve this?

date;echo "hii"

date && echo "hii"

Both A and B

date,echo "hii"

Answer

4

Which of the following command used to edit and execute command no. 25 in history list ?

history -e 25

fc 25

!25

None of these

Answer

5

Which of the following command is used unmount a filesystem?

demount

unmount

dmount

umount

Answer

6

Which of the following statement is true in context of "more" and "less" command in linux ?

less command allows you to scroll both ways whereas more command allows you to scroll downward only

less commad load file more fastly than more command

You can use arrows key in less command while you you are not allowed to do so in more command

All of the Above is correct

Answer

7

Which of the following command use to list file like file1 , file , file12 and file2 ?

ls -l | egrep "file[1]+2"

ls -l | egrep "file[1]+2*"

ls -l | egrep "file1*2+"

ls -l | egrep "file1*2*"

Answer

8

$ oneko &

What is the meaning of above command ?

run "oneko" in background

run "oneko" in foreground

stop "oneko"

Above command is wrong

Answer

9

What does rwx r-x r-- means in octal ?

755

743

754

745

Answer

10

Which of the following file contain your CPU infomation?

/proc/cpustats

/proc/cpuitems

/proc/cpuinfo

None of these

Answer

That's it.
Hope you Enjoyed the MCQ :)



If You Liked This Post Please Take a Time To Share This Post

You May Also Like...

6 comments:

  1. This is the investigation and answers section on Linux with explanation for dissimilar meeting, violent test and passageway test. Explained pictures with point by point answer representation, explanation are agreed and it is straightforward.


    ReplyDelete
  2. 1
    2 3
    3 4 5
    4 5 6 7
    5 6 7 8 9 given code

    ReplyDelete
  3. If you are looking for the Software Engineering Help assignment then in this case you can opt for our Essay Writing.we provide the best online assignment help.We also provide law essay help for students across the globe. for more information contact us +16692714848.


    ReplyDelete
  4. Such a Great Article!! I learned something new from your blog. Amazing stuff. I would like to follow your blog frequently. Keep Rocking!!


    DevOps Training in Chennai | DevOps Training in anna nagar | DevOps Training in omr | DevOps Training in porur | DevOps Training in tambaram | DevOps Training in velachery

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete