Tag: operating systems

Questions Related to operating systems

The file that contains the default file system type for file system creation is:

  1. /etc/fstab

  2. /etc/filesystem

  3. /etc/default/fs

  4. /var/adm/sbtab


Correct Option: C

Which of the following statements is TRUE for HP-UX 11 and above?

  1. /stand can be either hfs or vxfs if you have On-Line JFS

  2. /stand must be vxfs but "/" can be vxfs or hfs

  3. /stand and "/" must be hfs

  4. /stand must be hfs but "/" can be vxfs


Correct Option: A

After “alias dir=ls”, then when you use dir at command line, what will happen?

  1. No effect

  2. Error

  3. Show “ls”

  4. Run “ls”


Correct Option: D
  1. while-do-done

  2. until-do-done

  3. repeat-do-done

  4. if-then-fi


Correct Option: C
  1. mk_kernel

  2. make

  3. build_kernel

  4. make_vmunix


Correct Option: A
  1. superblock

  2. inodes

  3. directory area

  4. all of the above


Correct Option: B

If the device file for your CD-ROM is missing, (the "ioscan -fn" command shows the H/W path exists but there are no device files) what command could you run, without rebooting the system, to create the device files?

  1. mkcd -a

  2. insf -e

  3. lssf -e

  4. cdfs -a


Correct Option: B
  1. create a physical volume

  2. extend the logical volume

  3. create a filesystem

  4. extend the filesystem


Correct Option: A