Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

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

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

How to Configure HTTP/HTTPS Proxy on Linux and Windows (CLI, GUI, Registry, and APT)

Set up proxy access correctly on Windows and Linux for command-line tools, package managers, and system-level use. This guide covers quick commands, persistent configuration, and common troubleshooting steps.

Read More

Linux pmap Command Guide: Inspect Process Memory Maps with Practical Examples

Learn how to use the Linux pmap command to inspect per-process memory mappings, compare output modes, and troubleshoot high memory usage quickly. This updated guide includes workflow steps, command examples, and interpretation tips.

Read More

iostat Command Guide for Linux: 20 Practical Examples for CPU and Disk I/O Troubleshooting

Learn how to use iostat to monitor CPU and storage performance on Linux systems. This revised guide covers installation, 20 practical commands, metric interpretation, and a troubleshooting workflow.

Read More

xargs in Linux: Practical Commands, Safe Patterns, and Pipeline Workflows

This guide explains how to use xargs effectively in Linux/Unix shells, from basic stdin handling to safe file operations and parallel execution. You’ll learn practical command patterns, portability caveats, and safer alternatives.

Read More

Linux mount and umount Commands: Practical Examples, /etc/fstab, and Safe Unmounting

Learn how to mount and unmount filesystems reliably on Linux, from one-off commands to persistent /etc/fstab entries. This guide covers common filesystem types, command comparisons, and safe troubleshooting steps.

Read More

How to Use gsh to Run Linux Commands Across Multiple Servers

gsh (Group Shell) lets you execute one command across many Linux hosts from a single terminal. This guide explains host grouping with /etc/ghosts, core options, and practical command patterns.

Read More