Linux (NCO)

Linux

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following directories in Linux file system contains kernel, firmware and system related files?

  1. /bin
  2. /boot
  3. /
  4. /sys
  5. /sbin
Question 2 Multiple Choice (Single Answer)

Which of the following directories indicates that program is using a particular device or file?

  1. Lock
  2. Local
  3. Lib
  4. Log
  5. Run
Question 3 Multiple Choice (Single Answer)

Which of the following shell commands is used to list all your current environment variables and their settings?

  1. Export
  2. Env
  3. Alias
  4. Unalias
  5. History
Question 4 Multiple Choice (Single Answer)

Which of the following is the correct shell command to debug a script?

  1. Prompt$bash -x script-name
  2. Prompt$chmod +x script.sh
  3. Prompt$chmod u+x script.sh
  4. Prompt$./hello.sh
  5. #!/bin/bashecho Hello, India!
Question 5 Multiple Choice (Single Answer)

Which of the following components of Linux user environment acts as an interface between the kernel and the user?

  1. Kernel
  2. Terminal emulator
  3. Shell
  4. Linux desktop
  5. Unix workstation
Question 6 Multiple Choice (Single Answer)

Which of the following directories in Linux file system contains system configuration files, network configuration files, application configuration files and other installed software?

  1. /lib
  2. /etc
  3. /dev
  4. /home
  5. /media
Question 7 Multiple Choice (Single Answer)

Which of the following characters in vi editor command is used to delete one character under cursor?

  1. I
  2. A
  3. U
  4. X
  5. Dd
Question 8 Multiple Choice (Single Answer)

Which of the following shells under Linux is an open source Unix shell that is embedded within the scheme programming language?

  1. csh
  2. scsh
  3. tcsh
  4. zsh
  5. ksh
Question 9 Multiple Choice (Single Answer)

Which of the following Linux commands is used to perform line printer control program?

  1. lpr
  2. lpq
  3. lprm
  4. lpc
  5. ps
Question 10 Multiple Choice (Single Answer)

Which of the following loadable device driver commands in Linux is used to remove a module from the kernel?

  1. insmod
  2. rmmod
  3. depmod
  4. chmod
  5. init
Question 11 Multiple Choice (Single Answer)

Which of the following actions in Linux executes the process once when the defined run level is started?

  1. Wait
  2. Respawn
  3. Once
  4. Bootwait
  5. Boot
Question 12 Multiple Choice (Single Answer)

Which of the following set commands in Bash shell provides debugging options that will display commands and their arguments as they are implemented?

  1. set - x
  2. set - v
  3. set - n
  4. set - k
  5. set - q
Question 13 Multiple Choice (Single Answer)

Which of the following permissions in Linux file permission is granted to users who have neither UID nor the GID of the file?

  1. World permission
  2. Owner permission
  3. Group permission
  4. Read permission
  5. Write permission
Question 14 Multiple Choice (Single Answer)

Which of the following system variables in Linux specifies the number of commands to remember in the command history and has default value 500?

  1. BASH_VERSION
  2. HOSTNAME
  3. HISTSIZE
  4. CDPATH
  5. TIMEOUT
Question 15 Multiple Choice (Single Answer)

Which of the following systems is a free operating system to any computer that uses Linux kernel?

  1. Child process
  2. Debian system
  3. Noclobber
  4. Sanity check
  5. Shopt command