Unix/Lunux/Unix MCQS Set 3 Sample Test,Sample questions

Question:
 Which of the following commands is used to summarize the disk usage?

1.chkdsk

2.fdisk

3.du

4.disk


Question:
If a file has read and write permissions for the owner, then the octal representation of the permissions will be

1.1

2.6

3.5

4.3


Question:
Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?

1. find -mtime +365 | rm

2.grep (/usr/*) - mtime + 365 | -ok rm

3. find -name - mtime + 365 / - ok rm

4.find /user/* (-mtime + 365 - a - atime +365 ) - OK rm {} ;


Question:
The ls -l command tells

1.who the owner of the file is

2.the name of the group owner of the file

3.how large the file is and when the file was last modified.

4.All of the above


Question:
The seventh field of /etc/password is

1.password

2.login

3.shell

4.home


Question:
Which command is used to copy a file wb with the same name from the programs directory to the misc directory?

1.copy programs/wb misc/wb

2.. cp programs/wb misc

3. tar programs/wb misc/wb

4.copy a:programs/wb b:misc/wb


Question:
Which command is used to create a directory?

1.crdir

2.md

3.mkdir

4.cr


Question:
Which command is used to display the device name of the terminal you are using?

1.who

2.ls

3.tty

4.stty


Question:
Which command is used to display the end of the file?

1. head - r

2.tail

3.eof

4.bof


Question:
Which command is used to locate all the .profile files in the system?

1.ls profile

2.find /-name profile -print

3.cd /.profile

4.. l -u .profile


Question:
Which command is used to set the three permissions for all the three categories of users of a file?

1.chgrp

2.chown

3.chmod

4.chusr


Question:
Which command is used to sort the lines of data in a file in alphabetical order?

1.sort

2.sh

3.st

4.sort-r


Question:
Which is the earliest and most widely used shell that came with the UNIX system?

1. C shell

2.Korn shell

3.Bourne shell

4.Smith shell


Question:
Which of the following commands can be used to get information about all users who are currently logged into the system?

1.which

2.who

3. who am i

4. 1 /u


Question:
Which of the following commands can be used to get information about all users who are currently logged into the system?

1.which

2.who

3.who am i

4. 1 /u


Question:
Which of the following commands can be used to get information about yourself?

1.who am i

2. i /4

3.pwd

4.which


Question:
Which of the following keys is used to overstrike a whole line?

1.R

2.v

3.chmod

4.u


More MCQS

  1. Unix MCQS Set 1
  2. Unix MCQS Set 2
  3. Unix MCQS Set 3
  4. Unix MCQS Set 4
  5. Linux Mcqs Questions Set 1
  6. Linux Mcqs Questions Set 2
  7. Linux Mcqs Questions Set 3
  8. Linux Mcqs Questions Set 4
  9. Linux Mcqs Questions Set 5
  10. Linux Mcqs Questions Set 6
  11. Linux Mcqs Questions Set 7
  12. Linux Mcqs Questions Set 8
  13. Linux Mcqs Questions Set 9
  14. Linux Mcqs Questions Set 10
  15. Linux Mcqs Questions Set 11
  16. Linux Mcqs Questions Set 12
  17. Linux Mcqs Questions Set 13
  18. Linux Mcqs Questions Set 14
  19. Unix MCQ Set 01
  20. Unix MCQ Set 02
  21. UNIX SYSTEM Mcq
  22. Unix MCQ
  23. Linux MCQ Unit 1
  24. Linux MCQ Unit 2
  25. LINUX MCQ QUESTIONS AND ANSWER
  26. Linux File Permissions MCQ Questions Answers
  27. Linux Administration MCQ question and answer
  28. Linux MCQ QUESTIONS AND ANSWER
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!