Hiding files serves different purposes. Usually, users hide their files for privacy reasons. When there are multiple users on the same device, there may come the need to protect some personal files or folders. The privacy of your personal stuff can be protected by hiding them.   Similarly, some of the system configuration files are also hidden by default so that they can not be accessed easily, preventing the system from unwanted disasters. Every operating system provides you with the option of hiding files. In the case of Linux, this can be done using either the GUI or executable commands on the Terminal. In this article, you’ll learn how to hide files and folders on Linux. So, let’s get started!

Hide New Files Using the Terminal.

Every file and folder present on your computer can be accessed and modified using the Terminal. These files are named and saved in directories with their names. If you hide a file, the only difference made to the file is that a dot (.) is added at the beginning of the name. So, follow these steps if you want to hide files and folders on Linux using the Terminal: These were the steps using which you can create a new hidden file. All it takes is the dot (.) operator to create and hide files and folders on Linux using the Terminal. 

Hide Existing Files Using the Terminal.

We first looked into creating new hidden files using the Terminal. In addition to that, you also have the provision of hiding existing files and folders on your Linux systems.  To hide existing files, you will use the $ mv command with the dot (.) operator rather than the $ touch command. You also need to make sure that the current working directory contains the file you want to hide.  Follow these steps to hide existing files using the Terminal: We used the $mv command to move the existing file to its hidden version. These were the steps you must follow to hide existing files or folders on your Linux system. 

Hide Files on Linux Using the GUI.

We discussed the different commands you can use to hide files on your Linux system using the Terminal. In case the Terminal isn’t your cup of tea, and you prefer to get on with things swiftly, there is always the option to use the GUI to perform all the tasks.  Hiding files and folders using the Linux GUI is simple and easy to do. The only work you need to do is find the location of the file or folder you want to hide from other users. After locating them, hiding them requires just a few clicks of your mouse or touchpad and the keyboard. Follow these steps if you want to hide files and folders on Linux using the GUI.  These were the simple and easy steps of hiding a file on Linux using GUI. Hiding files and protecting your privacy is necessary in certain cases. If those aren’t enough, you can always implement an additional layer of security by protecting your account altogether. One of the commonly used methods to implement this would be using fingerprint login for your Linux distribution. This article aimed to guide and help you out in learning how to hide files and folders on Linux. We hope that we were able to solve your problem. If there are any queries related to this guide, please let us know in the comment section.

How to Hide Files and Folders in Linux - 69How to Hide Files and Folders in Linux - 40How to Hide Files and Folders in Linux - 46How to Hide Files and Folders in Linux - 53How to Hide Files and Folders in Linux - 61How to Hide Files and Folders in Linux - 37