Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Linux Interview Questions and Answer – Part 10

How can we use lsof to display open ports?

  • lsof -i
  • lsof -w
  • lsof -u
  • sudo lsof -i (Ans)

On SUSE which file stores the static hostname

  • /etc/hosts
  • /eyc/hostname
  • /etc/HOSTNAME (Ans)
  • /etc/sysconfig/network

Which file is used for static ARP entries

  • /etc/services
  • /etc/ethers (Ans)
  • /etc/networks
  • /etc/hosts

Who should the group owner of the wall program be?

  • tty (Ans)
  • wall
  • wheel
  • root

Including the LPIC-1 exams how many exams in total do you need to pass for LPIC-2

  • 2
  • 3
  • 4 (Ans)
  • 5

Which option used with sysctl reads and loads the configuration file?

  • -p (Ans)
  • -r
  • -l
  • -m

How are debian source repositories listed in the sources.list file?

  • source
  • deb-src (Ans)
  • deb
  • debian-source

To expand a tar archive in Linux which option is used ?

  • -i
  • -e
  • -x (Ans)
  • -t

What is the name of the nagios service in Ubunto 14.04?

  • ng3
  • nagios3 (Ans)
  • nagios
  • ng

For Red Hat and Centos which repo do we need to add for collectd?

  • LABEL
  • LPEL
  • HTTP
  • EPEL (Ans)

Using ifconfig as a standard user which is the correct syntax to activate an interface?

  • sudo ifconfig eth0 up (Ans)
  • ifconfig eth0 up
  • sudo ifconfig up eth0
  • ifconfig up eth0

Which could be the correct syntax to synchronized with a remote rsync server module?

  • rsync -av server::/doc/ /tmp/
  • rsync -av server:doc/ /tmp/
  • rsync -av server/::doc/ /tmp/
  • rsync -av server::doc/ /tmp/ (Ans)

The output from vmstat show memory used as Cache, what does this represent?

  • Directory listing and file permissions
  • Virtual RAM
  • Disk space
  • File content (Ans)

Which variable to we need to set in the /etc/init.d/hostapd script?

  • DAEMON_CONF (Ans)
  • CONF
  • DAEMON
  • D_CONF

By default which database is used when installing Bacula on Ubuntu?

  • MSSQL
  • MySQL (Ans)
  • PostgreSQL
  • SQLite
Rajesh Kumar
Follow me