Operating Systems Commands and Shortcuts
Test your knowledge of Windows keyboard shortcuts and Unix/Linux commands commonly used in operating systems.
Questions
Shell Varialbles are ?
- TERM,SHELL, MAIL
- SHELL,MAIL,HOME
- WALL,HOME,SHELL
- HOME,SHELL,TERM,WALL
How many prompts are available in a UNIX system and what it is ?
- 3,PS1,PS2,PS3
- 4,PS1, PS2, PS3, PS4
- 2,PS1, PS2
- 1,PS1
What option can you use with the Unix "ls" command to display file attributes?
- "-d"
- "-a"
- "-l'
- "-x"
This is the command used for finding the free disk space for all filesystems
- du
- df
- diskusg
- dp
Which command shows network status
- netpmon
- ipconfig
- netstat
- nfsstat
The diff command only works with input files that are text files
- True
- False
This command displays the current environment or sets the environment for the execution of a command
- shell
- on
- export
- env
This Reexecutes a Previously Entered Command
- fc -s
- reexecute
- command
- lastcomm
f command is the same as finger command
- True
- False
What is the output of the following command in an empty directory touch -c Filethtdoesntexist.txt
- No output
- Error saying "no such file exists"
- File created with the specified name
- None of these
What is the output of the following echo My && echo little || echo world
- My little world
- My little
- My world
- little world
The command 'id' displays user's
- hostid
- Only userid
- Userid and groupid
- hostname
To cut the selected it we normally use Ctrl + X .What is the alternative shortcut for this ?
- alt + del
- ctrl + del
- shift + del
- esc + x
Alternative option for Ctrl + C (Copy selected item).
- alt + c
- ctrl + ins
- alt + ins
- shift + ins
Alternative option for Ctrl + V (Paste)
- alt + ins
- alt + v
- ctrl + ins
- shift + ins
Winkey + D will bring desktop to the top of other windows.We can also do this with...
- winkey + pageup
- winkey + M
- winkey + T
- alt + winkey
we use winkey to bring start up menu (Start in the task bar).Another way is there.What is that?
- Ctrl + esc
- Alt + esc
- esc + winkey
- alt + winkey