Top 550+ Solved Operating System Architecture MCQ Questions Answer
Q. Which of the following commands can be used to get information about all users who are currently logged into the system?
a. which
b. who
c. who am i
d. 1 /u
Q. Which command is used to locate all the.profile files in the system?
a. ls profile
b. find /-name profile print
c. cd /.profile
d. l -u .profile
Q. The File that contains a set of instructions which are performed when a user logs in, is
a. .exrc
b. .profile
c. .autoexec
d. autoexec.bat
Q. The octal representation 652 indicates
a. execute permission for the owner
b. write permission for others
c. read and write permission of groups
d. all of the above
Q. Which of the following command is used to count just the number of lines contained in a file?
a. wc -l
b. wc -c
c. wc -w
d. wc -r
Q. Which command is used to move all files to the bin sub-directory of the parent directory?
a. mv *.* /bin/
b. mv * /bin/*
c. mv * ../bin
d. mv * ../bin *.*
Q. Which command is used to save the standard output in a file, as well as display it on the terminal?
a. more
b. cat
c. grep
d. tee
Q. Which of the following commands is used to copy directory structures in and out
a. cp
b. cpio
c. cp - p
d. copy
Q. Which command is used with vi editor scroll half page backward?
a. [control-d]
b. [control - u]
c. [control-c]
d. [control -p]
Q. Which of the following keys is used to delete the character beneath the cursor?
a. x
b. x
c. dd
d. d