When you are using linux operating system, You must have to know how to hide files and directories. Suppose some one using your system, and you want that they cant see your personal data. In that condition you have to hide your data from other people. The main question is that how you can do it?

Linux has great features through which you can easily hide your files and directories.  In this tutorial i will explain you very easy way to hide or view your files and directories in linux through command line.

We will see below, hiding files and directories is so simple through command line.



How to hide Files and Directories in Linux

To hide files and directories through terminal , we have to just append a dot [.] at the start of the name as follows using the mv command

How to view hidden files and directories in linux :-Through GUI, you have to just rename files and directories by adding dot [.] at the start of its name.

To view hidden files and directories , you have to just run a command “ls  -a” .

In this tutorial we explain that how to hide a files and directories in linux and how to see hidden files .