An Easy Way to Hide Files and Directories in Linux

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 Hosting referral link if you planning to start your blog ($3.82/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.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

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

You may also like...

6 Responses

  1. Mark Stephen says:

    Hiding files in Linux was not as easy as it looks. I really like your process to delivering that idea. your idea completely helps me…

  2. ghost74 says:

    Hello mate it is not append a dot the word should be “prepend” so that it’s​ easily understood by all

  3. Keith says:

    Appending a . may hide from ls, but it’s not really hidden from other users if they can perform ls -a. And password protecting a compressed file offers minimal security, as they can still read the file, and try to crac it.

    If you really want to hide files or folders from other users, you need to place them in a directory and chmod said_directory with 700. Other users can see that you have a directory named said_directory, but the will have no permission to view anything inside, truly hiding those things you don’t want them to see.

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?