Linux Interview Questions and Answer – Part 11

It is common for source packages to be downloaded to which directory?

  • /src
  • /usr/src (Ans)
  • /home
  • /usr/bin

Using lsof which character is used to filter by host

  • #
  • =
  • @ (Ans)
  • H

Uptime shows the load averages of what time periods?

  • 1,10 and 15 minutes
  • 1,2,3 seconds
  • 1,5 and 15 minutes (Ans)
  • 1,2,3 minutes

Which template can be used to fill in default values for Nagios hosts?

  • generic-host (Ans)
  • host
  • host-generic
  • generic_host

Which option used with sar will allow you to read from a certain file?

  • -f (Ans)
  • -I
  • -F
  • -i

Which option can be used with nagios3 to test the configuration?

  • -v (Ans)
  • -t
  • -r
  • -f

Which option can specify a DNS server to use with dig

  • @8.8.8.8 (Ans)
  • AT8.8.8.8.8
  • -s8.8.8.8
  • =8.8.8.8

Which MySQL command is used to new accounts take effect immediately?

  • READ USERS
  • EXIT
  • FLUSH PRIVILEGES (Ans)
  • LOAD USERS

How can we list sockets with netstat

  • -t
  • -s
  • -u
  • -x (Ans)

Which tape device represent a rewindable model?

  • /dev/st0 (Ans)
  • /dev/rwst0
  • /dev/rst0
  • /dev/nst0

By default which port is used by the Bacula Director

  • 9100
  • 9102
  • 9101 (Ans)
  • 9103

On a Red Hat based system how are the pre-requisites to ./configure installed?

  • sudo yum groupinstall “Development Tools” (Ans)
  • sudo install tools
  • sudo apt-get install build-essentials
  • sudo zypper install –type pattern devel_basis

What is the name os the dhcp service on Debian based systems?

  • dhcpd
  • isc-dhcp-server (Ans)
  • dhcpcd
  • dhcp

Which web user account is created during the installation of nagios3?

  • nagios
  • admin
  • nagiosadmin (Ans)
  • root

Which jump target do we configure when setting up NAT?

  • RNAT
  • NAT
  • MASQUERADE (Ans)
  • iptables
Rajesh Kumar
Follow me