11 Basic Linux Interview Questions and Answers

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

131 Responses

  1. shayan says:

    Does anyone know this error?

    error while loading shared libraries: libX11-xcb.so.1: can not open shared object file: No such file or directory

  2. sachin says:

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

  3. Hunter says:

    nano command …?

  4. 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.

  5. 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.

  6. siva says:

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

  7. Narasimha Rao says:

    Hi ravi

    please help me how to installed NVIDIA grafic card drivers steps

  8. 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

  9. Rrikanth Reddy says:

    can some one help me

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

    [[email protected] ~/nagios]# touch file{1..10}
    [[email protected] ~/nagios]#
    [[email protected] ~/nagios]# ls
    [[email protected] ~/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
  10. 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.