Tag: operating systems

Questions Related to operating systems

How to mount a file system?

  1. fsck

  2. fsmount

  3. mount

  4. mountfs


Correct Option: C
  1. /etc/passwd

  2. /var/passwd

  3. /etc/password

  4. /var/password


Correct Option: A

Linux uses four basic file types

  1. executable, text, documents, directories

  2. directories, scripts, executables, normal files

  3. Normal files, special files, hidden files, device files

  4. ordinary files, directories, symbolic links, block and character device files


Correct Option: D
  1. cat testfile >redirfile

  2. cat testfile >>redirfile

  3. cat testfile 1> redirfile

  4. cat testfile 2> redirfile


Correct Option: B
  1. function_name() {command-list }

  2. function_name ( ) { }

  3. function name (command list ) {

  4. None


Correct Option: A
  1. The owner of the job

  2. The root user

  3. Anyone

  4. Anyone who can submit jobs to the print queue


Correct Option: B

tar can be used to write on to floppy disks

  1. True

  2. False


Correct Option: B
  1. They ensure that the associated program runs in root

  2. They ensure that the associated program runs automatically with the owner's permissions

  3. They make the file executable

  4. They add the program to the /bin directory


Correct Option: B

What does the read command do while it waits for input?

  1. Tests for command-line arguments

  2. Shifts arguments to the left

  3. Exits the program

  4. Creates a pause in the program


Correct Option: D