View Full Version : [ubuntu] How do I create a hidden directory?

October 14th, 2009, 12:46 PM
How do I create a hidden directory (i.e., one I can't see by default in Nautilis but can access through the terminal).

Also - are there settings in Nautilis to see hidden directories?

Can I make a directory hidden in Nautilis or do I need to use the command line?

October 14th, 2009, 12:48 PM
name it something like .hidden_directory.

the trick is having a . in front of the name.

to see the directory/file again you press ctrl+h (you can just find it under View in the menu also.)
or in terminal it was something like ls -a just add the "a" as a flag... so ls -al also works.

October 14th, 2009, 12:48 PM

Put a period (.) at the start of the folder name.

To see hidden folders in GNOME, go to the View menu and choose Show Hidden Files.

-Silver Fox

October 14th, 2009, 12:49 PM
Rename the directory with a . at the start of it's name.
eg rename bunchofstuff to .bunchofstuff

October 14th, 2009, 01:16 PM
you can view the hidden directories from the command

ls -a

October 14th, 2009, 01:20 PM
Thanks. Too easy:)