LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-07-2011, 09:04 AM   #1
nbm
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
hiding folders????


i am new to linux so can u plz tell me how to hide a folder,and how to access a folder which was already hidden(the folder should not show any properities if we hide it)...
thanking u in advance...

Last edited by nbm; 05-08-2011 at 01:14 AM. Reason: not clear with given answers
 
Old 05-07-2011, 09:09 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Files (and Directories) that start with a dot are hidden. This will create a hidden directory called hiddendir:
Code:
mkdir .hiddendir
Hope this helps.

EDIT: An already existing directory can be moved:
Code:
mv Directory .Directory

Last edited by druuna; 05-07-2011 at 09:15 AM. Reason: Added move example.
 
Old 05-07-2011, 07:14 PM   #3
xzcallaway
Member
 
Registered: Oct 2008
Posts: 33

Rep: Reputation: 4
One might find it easier to hide a directory that already exists without command lines. To do this all you need to do is right click the directory and select rename. Next you can just place a dot in front of the directory. Many directories which you just place a dot in front of will not hide until you completely exit out of the File Browser. From then on any new File browsers you open will have the directory hidden.

Last edited by Tinkster; 08-29-2011 at 06:50 PM.
 
Old 05-08-2011, 01:07 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
If you want to hide it from other users on the system, a hidden directory is not going to do the trick. In that case you need to change the permissions to 700 (rwx------). Not sure if the directory is visible to oters after that (I always play that by the ear) but others will not be able to see the content.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD hiding folders crazy8 Linux - Software 1 09-20-2007 07:29 AM
Hiding Folders from restricted users nowhere.elysium Linux - Security 3 11-17-2005 02:46 PM
Foolproof hiding of folders? habala Linux - Newbie 2 01-01-2005 05:02 AM
Hiding Folders in Linux superbejo Linux - Software 9 06-09-2004 08:50 AM
hiding icons and folders dark_light Linux - General 2 05-31-2003 05:35 AM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration