10 Useful Random 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...

53 Responses

  1. Karthees says:

    Very very useful Thank You

  2. Lee says:

    On question #9, why not do:

    grep Tecmint *

    There are many ways to perform that operation in the current directory. However, not including subdirectories, one can type much less by using the above command…

    • Ravi Saive says:


      The grep Tecmint *, do you think this command will list string “Tecmint“? have you tried it before suggesting, i suggest you to try yourself and see long it takes and what it does before giving final results, for me this command is just a waste of time….and will not work at all..

  3. paulconn says:

    Answer : To check the contents of a compressed file without the need of decompressing it, we need to use ‘zcat’. The zcat utility makes it possible to view the contents of a compressed file.

    This answer implies that zcat doesn’t decompress the file, and uses some fancy algorithm to read compressed data.
    This is not the case, it decompresses the file anyway, then cats the decompressed data.

  4. Vijay says:

    Very Useful ..Thank You :)

  5. Sekhar says:

    Thanku very much can you send more questions to me please

  6. Jeremy says:

    CTRL-ALT-BKSpace is disabled in most of the “desktop” linux distro’s. Best to kill it from CLI.

  7. Sandy says:

    Very useful questions…..Thank you

  8. Ken Roberts says:

    Several comments:

    7: find /home/ -name \*.tar -exec rm {} \;
    – -exec says whenever you find a match, run the command substituting {} with the filename
    – Escape characters that may be interpreted by the shell, like * and ;
    – no need for -rf since these are files and not directories

  9. satish says:

    Hi Avishek,

    your articles help a lot for linux beginners. But I was stuck with few questions.
    I need to list the files from remote ftp server with regular expression as RCCCFHW01N[0-9]{4}2014[0-9]{10}.dat..

    can you help me in listing the files particular 2014 in which remote server holds files from different years.

  10. Amalayar says:

    This is so baloney. Where is the Linux Bible ebook that I can download?

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?