Quite recently, the day before yesterday to be more precise, I talked about how your can hide folders on Windows without using any kind of additional applications. Today I’m gonna be explaining the same thing but only for Linux. It’s important to point out that this method works for files also, they too can be hidden, not just folders and this goes for both Linux and Windows.
To hide folders in Linux there’s just one thing that you need to do, put a dot in front of their name. That’s the only thing that you’re required to do in order hide both files and folders in Linux. Screenshot above shows us how you can do that inside Nemo, which is the new file manager that can be found in Cinnamon. Hopefully you can see that all the way at the beginning of the folder name there’s a dot.
To create a hidden folder from inside the terminal, you would basically have to do the same thing, only you need to open up terminal and type in this command:
or if you’re renaming a folder to make it hidden, this command:
mv FolderNotHidden .FolderHidden
Replace FolderHidden with the name that you’d like your folder to have but remember to add a dot at the very beginning of it. Created/renamed folders are gonna be hidden, so you won’t be able to see them inside your file manager of choice.
To see hidden folders and files you’re gonna have to select View >> Show Hidden Files from within the file manager that you’re using. I use Nemo, so this is the location of this option inside Nemo. Other file managers should have it the same, but just in case that they don’t, by opening up terminal and typing in:
All the hidden folders and files from inside the current directory should be listed after this command is started. Managing hidden folders on Linux might seem a bit more complicated, but it’s not really. Let me know if you have any questions.