Tag: operating systems

Questions Related to operating systems

command to kill the last job running at the background.

  1. kill 1

  2. KILL $$

  3. kill $?

  4. kill $!


Correct Option: D

What is the keyword "echoe" used for

  1. Used to display the chanrecters that follow this unix command (Similar to echo).

  2. When combined with "stty" as a switch (stty -echoe) would actually remove the backspaced charecter from display.

  3. There is no such command / option in UNIX

  4. a & b are correct


Correct Option: B

command to delete all files in the current directory and its sub directories?

  1. rm -r *

  2. rmdir *

  3. Both the above

  4. None of there


Correct Option: A

Number of prompts available in Unix system?

  1. 1

  2. 2

  3. 5

  4. unlimited


Correct Option: B

What will the following command do? $ echo *

  1. This will not work

  2. Similar to ls command and displays all files in current dir

  3. will display the string " * "

  4. will display all the files in the previously ccessed directory


Correct Option: B

nohup command if added in front of any command will continue running the command or process even if you shut down your terminal or close your session to machine

  1. True

  2. False


Correct Option: B

UNIX command to wait for a specified number of seconds before exit.

  1. sleep n

  2. sleep(n-1)

  3. snooze(n)

  4. snooze n


Correct Option: A

If kill command does not allow killing of a process then we could use kill -9 to forcefully kill the process by mentioning the PID

  1. True

  2. False


Correct Option: B
  1. Yes, Correct

  2. No This is for JAR command

  3. TAR and JAR are same

  4. none of these


Correct Option: A