Tag: operating systems

Questions Related to operating systems

Sticky bit can only be set for binary executable file. (Tie Breaker)

  1. True

  2. False


Correct Option: B

Which UNIX command is used to write in-core super block and inode table information to the disk?

  1. write

  2. sync

  3. insync

  4. write_core


Correct Option: B

Apache has intordueced cloud based OS, can be accessible from browser.

  1. CloudOS

  2. eyeOS

  3. Ubuntu

  4. Redhat


Correct Option: B

Which is not a unix/linux based OS?

  1. Ubuntu

  2. Fedora

  3. Amiga

  4. Debian


Correct Option: C

Command used to find the block size on Unix file system is

  1. blksz

  2. szblk

  3. cmchk

  4. chksz


Correct Option: C

AI Explanation

To answer this question, you need to understand the command used to find the block size on a Unix file system.

Option A) blksz - This option is incorrect because there is no such command "blksz" to find the block size on a Unix file system.

Option B) szblk - This option is incorrect because there is no such command "szblk" to find the block size on a Unix file system.

Option C) cmchk - This option is correct because the "cmchk" command is used to find the block size on a Unix file system. This command can be used to check the block size of a file system or a device.

Option D) chksz - This option is incorrect because there is no such command "chksz" to find the block size on a Unix file system.

The correct answer is Option C) cmchk. This option is correct because the "cmchk" command is used to find the block size on a Unix file system.

Apache has introduced this cloud based OS which can be accessible from browser.

  1. CloudOS

  2. eyeOS

  3. Ubuntu

  4. Redhat


Correct Option: B

Which UNIX command is used to write in-core super block and inode table information to the disk?

  1. write

  2. sync

  3. insync

  4. write_core


Correct Option: B

AI Explanation

To answer this question, you need to understand the purpose of the different UNIX commands related to writing data to disk.

Option A) write - This option is incorrect because the "write" command is used to send messages to other users or terminals, not to write data to the disk.

Option B) sync - This option is correct because the "sync" command is used to flush file system buffers and write in-core super block and inode table information to the disk. It ensures that all pending disk writes are completed and that the file system is synchronized.

Option C) insync - This option is incorrect because there is no "insync" command in UNIX. It is not a valid command.

Option D) write_core - This option is incorrect because there is no "write_core" command in UNIX. It is not a valid command.

The correct answer is B) sync. This option is correct because the "sync" command is used to write in-core super block and inode table information to the disk, ensuring that all pending disk writes are completed and that the file system is synchronized.