How to show hidden files and hide folders in Ubuntu





When it comes to hiding and searching for hidden files, you may need the right commands for that. The operating system also hides certain files by default. These are important for the proper operation of the operating system. Changing or deleting these files could result in major errors or even have the effect of stopping applications from working. There are times, however, when accessing these hidden files is necessary. Below we demonstrate the basic command used to do so.






Step 1: Configure VPSie cloud server


Those who already have a system up and running should skip this step and instead update their system.




  1. Register a newly created one by logging in to your VPSie account
  2. Connect by SSH using the credentials we emailed you.
  3. Once you have logged into your Ubuntu instance, run these commands to update your system.
# apt-get update && apt-get upgrade -y








Step 2: Show hidden files







Also, the following command can be found in other distributions, If you want to see all files, including those that are hidden, use the following command:  



# ls -a



Identify hidden files and folders by the dot (.) before their names.










Step 3: Hide files or folders






If you wish to hide a file or folder, for example, testhide, you just need to rename it as .testhide and it will be hidden.


# mv testhide .testhide





The fact is, we all did it here, it’s the simplest way to hide and view hidden. You should also check out some other linux commands. Thanks for reading! I hope it was informative for you! 







Try VPSie for free today!