Linux / Ubuntu

Hide and Show Files and Folders in Ubuntu (Linux)

In Ubuntu/Linux, there is no direct method to hide files and folders like windows. You should rename the files and folders.

Hide files and folders

Rename file/folder with “.”(dot) in front of name.

For example, if  you want to hide a folder “Work” then rename it to “.Work”. 

In Linux, if a file name starts with . (dot), it is considered as a hidden file/folder. Hidden folder hide all its sub-folders and files in it. That is why .htaccess file is hidden in Ubuntu, by default.

Show Hidden files and folders

Use “Ctrl + H”  to see the hidden folders/files.

Then remove the preceding .(dot) from name.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s