MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Linux Interview Questions and Answer – Part 7

  • What is the name and the UID of the administrator user?
  • How to list all files, including hidden ones, in a directory?
  • What is the Unix/Linux command to remove a directory and its contents?
  • Which command will show you free/used memory? Does free memory exist on Linux?
  • How to search for the string “my konfu is the best” in files of a directory recursively?
  • How to connect to a remote server or what is SSH?
  • How to get all environment variables and how can you use them?
  • I get “command not found” when I run ifconfig -a. What can be wrong?
  • What happens if I type TAB-TAB?
  • What command will show the available disk space on the Unix/Linux system?
  • What commands do you know that can be used to check DNS records?
  • What Unix/Linux commands will alter a files ownership, files permissions?
  • What does chmod +x FILENAME do?
  • What does the permission 0750 on a file mean?
  • What does the permission 0750 on a directory mean?
  • How to add a new system user without login permissions?
  • How to add/remove a group from a user?
  • What is a bash alias?
  • How do you set the mail address of the root/a user?
  • What does CTRL-c do?
  • What does CTRL-d do?
  • What does CTRL-z do?
  • What is in /etc/services?
  • How to redirect STDOUT and STDERR in bash? (> /dev/null 2>&1)
  • What is the difference between UNIX and Linux.
  • What is the difference between Telnet and SSH?
  • Explain the three load averages and what do they indicate. What command can be used to view the load averages?
  • Can you name a lower-case letter that is not a valid option for GNU ls?
  • What is a Linux kernel module?
  • Walk me through the steps in booting into single user mode to troubleshoot a problem.
  • Walk me through the steps you’d take to troubleshoot a 404 error on a web application you administer.
  • What is ICMP protocol? Why do you need to use?

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 Run Shell Scripts from Apache Ant (and Set Unix File Permissions Safely)

Learn practical patterns for combining Apache Ant with shell scripts in Unix-like build environments. This guide covers file permissions, script execution, and safer file-processing examples for legacy CI pipelines.

Read More

Junior Linux Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path

The **Junior Linux Administrator** supports the availability, security, and day-to-day operability of Linux-based infrastructure used by an enterprise IT organization to run internal services and business-critical applications. The role focuses on executing standard administration tasks, responding to tickets and alerts, performing routine maintenance, and following established runbooks under the guidance of senior administrators and SRE/Platform teams.

Read More

Interview Questions & Answers Complete Guide for Linux

Linux What is your experience with Linux? Explain what each of the following commands does and give an example on how to use it: Explain each field…

Read More

Shell Bash Scripting: Assignment & Excercise – 16

This exercise asks for a Bash script that packs a file or directory into a compressed tar archive and then encrypts it with a passphrase. The solution…

Read More

Shell Bash Scripting: Assignment & Excercise – 15

This exercise builds a Bash script that takes an IP address, sends it to the free ip-api.com geolocation API with curl, and uses jq to print the…

Read More

Shell script to git add and commit and push each directory at a time

This page shows how to use a Bash script to stage, commit and push changes one directory at a time. That can mean a folder full of…

Read More