Tag: operating systems

Questions Related to operating systems

Which command will create a hard link named "Link" to the "Test" file?

  1. ln -s Test Link

  2. ln Test Link

  3. ln / Link Test

  4. ln -h Link Test


Correct Option: B

Which group of letters are the file permissions that apply to a group in the string r--r-xrwx?

  1. r--

  2. r -x

  3. rwx

  4. None


Correct Option: B

What Linux file would you use when performing a rescue after a hard disk problem occurs?

  1. /dev/hda1

  2. /dev/null

  3. /dev/ram

  4. /dev/tty


Correct Option: A

Which command do you use to make the /etc/inputrc file immutable?

  1. chattr +i /etc/inputrc

  2. chmod 666 inputrc

  3. chmod g=rw inputrc

  4. None


Correct Option: A
  1. A remote machine address

  2. A printer on a remote machine

  3. A remote printer address

  4. Both a printer and a remote machine


Correct Option: B
  1. gunzip/expand

  2. gzip

  3. zip

  4. winzip


Correct Option: A
  1. tar -cvf file/tar -xvf file

  2. tar -xvf file /tar -cvf file

  3. tar -cvf file.tar /tar -xvf file.tar /

  4. tar -xvf file.tar /tar -cvf file.tar /


Correct Option: C

It is possible to redirect the output of a process to more than one source

  1. True

  2. False

  3. True but needs root permission

  4. None


Correct Option: A