LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hidden files (https://www.linuxquestions.org/questions/linux-newbie-8/hidden-files-861218/)

gibbo60 02-07-2011 01:05 PM

Hidden files
 
Hi,

Can anyone tell me how to hide files on Linux'

Kind Regards.
Gibbo

druuna 02-07-2011 01:07 PM

Hi,

Hidden files in Unix and Linux start with a dot.

To hide the file my.test, rename it to .my.text

Hope this helps.

BTW: To see them use ls -la or ls -a whatever you prefer.

MS3FGX 02-07-2011 01:07 PM

On Unix operating systems, directories and files are hidden by putting a period before the name. So if you wanted to make the file "test.txt" hidden, you would do:

Code:

mv test.txt .test.txt

SkyEye 02-07-2011 01:09 PM

Depends on your file system and more technical what not. But if you are looking for the quick kill (a la hidden files in Windows), rename the file with a "." at the beginning of the file name.

Eg: if the file was named file.png rename it to .file.png

EDIT: Pressing Ctrl + h will toggle hide status of hidden files in Nautilus (which is the default file browser in your distro, Mint)

empty_net_goal 02-07-2011 07:11 PM

reply
 
place a dot in front of the file name.


All times are GMT -5. The time now is 04:02 AM.