Operating Systems Commands and Shortcuts

Test your knowledge of Windows keyboard shortcuts and Unix/Linux commands commonly used in operating systems.

17 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Shell Varialbles are ?

  1. TERM,SHELL, MAIL
  2. SHELL,MAIL,HOME
  3. WALL,HOME,SHELL
  4. HOME,SHELL,TERM,WALL
Question 2 Multiple Choice (Single Answer)

How many prompts are available in a UNIX system and what it is ?

  1. 3,PS1,PS2,PS3
  2. 4,PS1, PS2, PS3, PS4
  3. 2,PS1, PS2
  4. 1,PS1
Question 3 Multiple Choice (Single Answer)

What option can you use with the Unix "ls" command to display file attributes?

  1. "-d"
  2. "-a"
  3. "-l'
  4. "-x"
Question 4 Multiple Choice (Single Answer)

This is the command used for finding the free disk space for all filesystems

  1. du
  2. df
  3. diskusg
  4. dp
Question 5 Multiple Choice (Single Answer)

Which command shows network status

  1. netpmon
  2. ipconfig
  3. netstat
  4. nfsstat
Question 6 True/False

The diff command only works with input files that are text files

  1. True
  2. False
Question 7 Multiple Choice (Single Answer)

This command displays the current environment or sets the environment for the execution of a command

  1. shell
  2. on
  3. export
  4. env
Question 8 Multiple Choice (Single Answer)

This Reexecutes a Previously Entered Command

  1. fc -s
  2. reexecute
  3. command
  4. lastcomm
Question 9 True/False

f command is the same as finger command

  1. True
  2. False
Question 10 Multiple Choice (Single Answer)

What is the output of the following command in an empty directory touch -c Filethtdoesntexist.txt

  1. No output
  2. Error saying "no such file exists"
  3. File created with the specified name
  4. None of these
Question 11 Multiple Choice (Single Answer)

What is the output of the following echo My && echo little || echo world

  1. My little world
  2. My little
  3. My world
  4. little world
Question 12 Multiple Choice (Single Answer)

The command 'id' displays user's

  1. hostid
  2. Only userid
  3. Userid and groupid
  4. hostname
Question 13 Multiple Choice (Single Answer)

To cut the selected it we normally use Ctrl + X .What is the alternative shortcut for this ?

  1. alt + del
  2. ctrl + del
  3. shift + del
  4. esc + x
Question 14 Multiple Choice (Single Answer)

Alternative option for Ctrl + C (Copy selected item).

  1. alt + c
  2. ctrl + ins
  3. alt + ins
  4. shift + ins
Question 15 Multiple Choice (Single Answer)

Alternative option for Ctrl + V (Paste)

  1. alt + ins
  2. alt + v
  3. ctrl + ins
  4. shift + ins
Question 16 Multiple Choice (Single Answer)

Winkey + D will bring desktop to the top of other windows.We can also do this with...

  1. winkey + pageup
  2. winkey + M
  3. winkey + T
  4. alt + winkey
Question 17 Multiple Choice (Single Answer)

we use winkey to bring start up menu (Start in the task bar).Another way is there.What is that?

  1. Ctrl + esc
  2. Alt + esc
  3. esc + winkey
  4. alt + winkey