11 Basic Linux Interview Questions and Answers

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

119 Responses

  1. sachin says:

    good for basic question in linux as well as in interview..

  2. Hunter says:

    nano command …?

  3. Varun V Naik says:

    Question No.2 seems to be wrong.

    Q.2: What Linus Torvalds Created?


    Answer : Linus Torvalds created Linux, which is the kernel (heart) of all of the above Operating System and all other Linux Operating System.

  4. Aslam Sayyed says:

    I have installed Windows 7 on my laptop.
    I have installed Virtual Box and in that installed RHEL 5 and its working fine.
    When I installed RHEL 7 on that, ifconfig command is not working.
    What is the reason, could you please help me out here.

    • Ravi Saive says:


      Just install ‘net-tools‘ package that provides ifconfig command using yum command as shown, For example, to install ifconfig command run,

      # yum install net-tools
    • Kamal says:

      U Should Activate In Bios Virtual Mode, Then Try it.

  5. siva says:

    while i am creating empty file in this command
    #touch file{1…..10}

  6. Narasimha Rao says:

    Hi ravi

    please help me how to installed NVIDIA grafic card drivers steps

  7. Mark Ulmer says:

    I believe the topic you are asking about if Brace Expansion. Various shells may perform this differently (there are many shells). Here is a reference to BASH and related patterns. See Brace Expansion near bottom. http://mywiki.wooledge.org/BashGuide/Patterns

  8. Rrikanth Reddy says:

    can some one help me

    while i was creating the empty files using “touch” command it is creating like this

    [root@srikanth ~/nagios]# touch file{1..10}
    [root@srikanth ~/nagios]#
    [root@srikanth ~/nagios]# ls
    [root@srikanth ~/nagios]#

    • Ravi Saive says:

      I’ve tried same command and it’s works fine, here is the output of the command.

      # touch file{1..10}
      # $ ls
      file1  file10  file2  file3  file4  file5  file6  file7  file8  file9
      # ls -l
      total 0
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file1
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file10
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file2
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file3
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file4
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file5
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file6
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file7
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file8
      -rw-r--r-- 1 tecmint tecmint 0 Nov 10 11:33 file9
  9. kumar says:

    I am kumar..I will atten the interview Linux how to prepare the interview..I have completed 2 rounds last one round technical interview ..pls give a successtion…

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?