Skip to main content

Hiding Files in Linux

Posted in

You want to hide some private data because your friend is going to use your computer and you are using Linux.

So how do I do that ??

Here's How -

Rename your directory / file so that it is preceded by a dot (.) And you're done !

$ mv <dir-or-file-name> .<dir-or-file-name>

How do I list these files ?

$ ls -a

Trackback URL for this post:

http://www.itech7.com/trackback/445

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

yup. For those who aren't

yup. For those who aren't comfortable with the terminal and have Gnome running on the GNU's you can do it on the UI as stated below

Hit the directory with the mouse pointer, then CTRL + H, all your hiden files and folders show up with a "." preceding the file name or folder name. to hide files, right-click>rename and precede the file name or folder name with a "."

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

Google Friend Connect (leave a quick comment)
Loading
  • No HTML tags allowed
  • You can enable syntax highlighting of source code with the following tags: [code], [apache], [bash], [c], [c++], [html4], [ini], [java], [javascript], [jquery], [php], [python], [ruby], [sql].
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • Images can be added to this post.
  • Use to create page breaks.
  • Textual smileys will be replaced with graphical ones.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

CAPTCHA
This is to verify that you are human visitor
Syndicate content