Saturday, February 6, 2016

How to create hidden files and folders on Lubuntu


The next question is, how do i create hidden files and folders on lubuntu? like i said on the previous article about showing hidden files and folders on lubuntu, hidden file and folders are always start with dot.

Hidden files and folders always start with dot (.), what does it means? it means if you want to create hidden files and folders, create or rename files/folders with name start with dot.

For example i have file called my_secrect_photo.jpg, to make it hidden, i need to rename the file into .my_secret_photo.jpg, the file will be hidden automatically.

Renaming files/folders from command line:

To rename a file or folder you can use mv command from the command line/console/terminal, here's an example or renaming file:

this is how to use mv command:
mv [the current file name] [the new file name]

example of renaming file:
mv my_secret_photo.jpg .my_secret_photo.jpg

Same thing if you want to make a folder hidden, just simply rename the folder name start with dot (.), you can use mv command also, it's the same thing.

Renaming files/folders from graphical interface (GUI):

If you don't like to use command line to rename the file/folder, you can also do it from the GUI, while you are on PCManFM (file manager), select the file/folder and then right click your mouse and then select 'Rename...'



Rename the file or folder name start with dot (.) and the file or folder will be recognize as hidden file or folder, very easy isn't it?


~ enjoy your weekend ~

No comments:

Post a Comment