0

operating systems Online Quiz - 26

Description: operating systems Online Quiz - 26
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

GPT allows maximium partiotons...??

  1. 24

  2. 64

  3. 12

  4. 4

  5. 128


Correct Option: E

Is bootstrap and bootloader are the same thing and place at same location....????

  1. True

  2. False


Correct Option: B
  1. SATA

  2. PRIMARY

  3. PATA

  4. NT

  5. FireWire

  6. iLink


Correct Option: A,C,E,F
  1. Kill -9 allows the child processes to be killed before parent process is killed and Kill forcefully kills the process without giving time to

  2. Kill allows the child processes to be killed before parent process is killed and Kill -9 forcefully kills the process without giving time to

  3. None of the above

  4. both are same


Correct Option: B

How to remove a crontab file?

  1. crontab -t

  2. crontab -l

  3. crontab -e

  4. crontab -r


Correct Option: D

chmod 644 file.htm

  1. This gives the file read/write by the owner and only read by everyone else

  2. This gives the file read/execute by the owner and only read by everyone else

  3. This gives the file read/write by the owner and only execute by everyone else

  4. This gives the file read/write/execute by the owner and only execute by everyone else


Correct Option: A

Syntax for ssh command

  1. ssh hostname

  2. ssh user@hostname

  3. ssh user hostname

  4. None of the above


Correct Option: B

0 12 14 2 * mailx john%Happy Birthday!%Time for lunch. 14 in the above crontab file specifies

  1. hour

  2. minutes

  3. month of year

  4. None of the above


Correct Option: D

gunzip -f myfile.gz

  1. Uncompress the file myfile.gz

  2. compress the file myfile.gz and if the uncompressed file(s) already exist force an overwrite

  3. Uncompress the file myfile.gz and if the uncompressed file(s) already exist force an overwrite

  4. compress the file myfile.gz


Correct Option: C

Which command is used to delete all files in the current directory and all its sub-directories?

  1. rm

  2. rm -rf

  3. rm*

  4. rm -r *


Correct Option: D

how will u execute a file in unix?

  1. . filename

  2. ./

  3. . \

  4. / filename


Correct Option: B

How do you move a process which is running background to foreground?

  1. fg pid

  2. bg pid

  3. mv pid

  4. none of the above


Correct Option: A

Which comman can be used to find the user with which you are logged in the UNIX session

  1. "who am I" and "id"

  2. "who" and "who am I"

  3. "who" and "id"

  4. "who", "who am I", "id"


Correct Option: D

Command to get the list of files/directories with name containing "UniVar" under the root directory excluding errors.

  1. find / -name "UniVar" $1>list

  2. find / -name "UniVar" $0>list

  3. find . -name "UniVar" $1>list

  4. find . -name "UniVar"


Correct Option: A

Command used to replace all space with | and create another output file

  1. cat test1 | tr ' ' '|' > test2

  2. cat test1 | cut-d ' ' ' |' > test2

  3. cat test1 | tr '|' ' ' > test2

  4. cat test1


Correct Option: A

Command used to supress all spaces from a given file named test.

  1. cat test | cut ' '

  2. cat test | tr -s ' '

  3. cat test | tr ' ' ''

  4. cat test > test 1


Correct Option: B
  1. Complex

  2. Occupies more memory

  3. Not available in all UNIX servers

  4. Too many commands to remember


Correct Option: B
- Hide questions