Tuesday, September 7, 2010

Operating System Questions

1. Which of the following command can be used to get information about all user who are currently logged into the system ?
a. which
b. who am i
c. who
d. 1/u

Ans: c

2. The command used to remove the directory is
a. rmdir
b. remove
c. rd
d. rdir

Ans: a

3. Which of the following command can be used to get information about yourself
a. who am i
b. pwd
c. i/4
d. which

Ans: a

4. Which of the following command is used to summarize the disk usage ?
a. chkdsk
b. du
c. fdisk
d. disk

Ans: b

5. Which of the following commands is used to copy directory structures in and out ?
a. cp
b. cp-p
c. cpio
d. copy

Ans: c

6. Which of the following signs is used to backup over typing errors in vi ?
a. @
b. $
c. #
d. !

Ans: c

7. Which of the following commands is used to change the working directory ?
a. cd
b. chdir
c. changedir
d. cdir

Ans: a

8. Which of the following signs is used to erase or kill an entire line you have typed and start you are on a new line(but not display a new prompt) ?
a. @
b. $
c. #
d. !

Ans: a

9. Which of the following commands is used to count the total number of lines, words and characters contained in a file.
a. count p
b. wcount
c. wc
d. countw

Ans: c

10. Which of the following commands is used to list contents of directories ?
a. 1s
b. dir
c. 1p
d. tar

Ans: a

No comments: