Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 526 to 540 of 627

Q. Which command is used to display and create files?

a. cat

b. ed

c. vi

d. lyrix

  • a. cat

Q. Files that can store data in the same format as used in program are called

a. binary files

b. source file

c. text file

d. core

  • a. binary files

Q. The file that stores an integer as a sequence of characters is a

a. text file

b. data file

c. binary file

d. core

  • a. text file

Q. Which is the earliest and most widely used shell that came with the UNIX system?

a. c shell

b. korn shell

c. bourne shell

d. smith shell

  • c. bourne shell

Q. System call mknod creates a

a. new file

b. new directory

c. new binary file

d. none of these

  • b. new directory

Q. A pipe a mechanism that allow a stream of data between to be passed between……..

a. reader and writer process

b. reader process

c. writer process

d. none of these

  • a. reader and writer process

Q. Which command is used to display the top of the file?

a. cat

b. head

c. more

d. grep

  • b. head

Q. Which command sends the word count of the file infile to the newfile.

a. wc infile >newfile

b. wc <infile >newfile

c. wc infile - newfile

d. wc infile | newfile

  • a. wc infile >newfile

Q. Which command is used to remove the read permission of the file 'note' from both the group and others?

a. chmod go+r note

b. chmod go+rw note

c. chmod go-x note

d. chmod go-r, 4-x note

  • d. chmod go-r, 4-x note

Q. Which of the following files will displayed by this command cat *ch*

a. patch

b. catch

c. .ch

d. all of the above

  • d. all of the above

Q. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

a. tty ^c

b. stty intr \\^c

c. stty echoe

d. stty echo \\^a

  • b. stty intr \\^c

Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?

a. cat emp[!0-9]

b. more [emp][!0-9]

c. cat emp[x-z]

d. cat emp[a-z]

  • a. cat emp[!0-9]
Subscribe Now

Get All Updates & News