Questions
Which of the following directories in Linux file system contains kernel, firmware and system related files?
- /bin
- /boot
- /
- /sys
- /sbin
Which of the following directories indicates that program is using a particular device or file?
- Lock
- Local
- Lib
- Log
- Run
Which of the following shell commands is used to list all your current environment variables and their settings?
- Export
- Env
- Alias
- Unalias
- History
Which of the following is the correct shell command to debug a script?
- Prompt$bash -x script-name
- Prompt$chmod +x script.sh
- Prompt$chmod u+x script.sh
- Prompt$./hello.sh
- #!/bin/bashecho Hello, India!
Which of the following components of Linux user environment acts as an interface between the kernel and the user?
- Kernel
- Terminal emulator
- Shell
- Linux desktop
- Unix workstation
Which of the following directories in Linux file system contains system configuration files, network configuration files, application configuration files and other installed software?
- /lib
- /etc
- /dev
- /home
- /media
Which of the following characters in vi editor command is used to delete one character under cursor?
- I
- A
- U
- X
- Dd
Which of the following shells under Linux is an open source Unix shell that is embedded within the scheme programming language?
- csh
- scsh
- tcsh
- zsh
- ksh
Which of the following Linux commands is used to perform line printer control program?
- lpr
- lpq
- lprm
- lpc
- ps
Which of the following loadable device driver commands in Linux is used to remove a module from the kernel?
- insmod
- rmmod
- depmod
- chmod
- init
Which of the following actions in Linux executes the process once when the defined run level is started?
- Wait
- Respawn
- Once
- Bootwait
- Boot
Which of the following set commands in Bash shell provides debugging options that will display commands and their arguments as they are implemented?
- set - x
- set - v
- set - n
- set - k
- set - q
Which of the following permissions in Linux file permission is granted to users who have neither UID nor the GID of the file?
- World permission
- Owner permission
- Group permission
- Read permission
- Write permission
Which of the following system variables in Linux specifies the number of commands to remember in the command history and has default value 500?
- BASH_VERSION
- HOSTNAME
- HISTSIZE
- CDPATH
- TIMEOUT
Which of the following systems is a free operating system to any computer that uses Linux kernel?
- Child process
- Debian system
- Noclobber
- Sanity check
- Shopt command