Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-12-2004, 10:25 PM   #1
LQ Newbie
Registered: May 2004
Posts: 18

Rep: Reputation: 0
Hidden Files

how can i make a file or folder hidden and then how can i make visible again for linux red hat 9.0 ?
Old 08-12-2004, 10:32 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Files and directories bwginning with a . (dot) are hidden. It's easy to find hidden files though with the -a argument to ls.
Old 08-12-2004, 10:33 PM   #3
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
The dot before the file name is what hides it. So if you have a file called test.txt, you can hide it......
mv test.txt .test.txt

or to unhide the file...
mv .test.txt test.txt

Edit: Sorry BT, Our posts crossed on the wire.

Last edited by homey; 08-12-2004 at 10:34 PM.
Old 08-12-2004, 10:34 PM   #4
LQ Newbie
Registered: Mar 2003
Location: Wichita, KS, USA
Distribution: Redhat-7.2,9 Slackware-9.1,10
Posts: 13

Rep: Reputation: 0
What do you mean "make a file or folder hidden"? Generally, any file or folder name that starts with a dot (.) in *nix is considered a hidden file. At the command line, and ls -a will list all files including hidden ones. So, renaming "file" to ".file" will make it hidden. In GNOME, you can configure whether or not to show hidden files. In a nautilus window (file manager), click Edit > Preferences and check "Show hidden and backup files." I don't know about KDE, but I know you can configure this.


Last edited by jhayden; 08-12-2004 at 11:06 PM.
Old 08-12-2004, 10:38 PM   #5
Registered: Nov 2003
Posts: 117

Rep: Reputation: 16
Try View

I think it is under VIEW, it says hidden files, and when you click on it, you get a check mark in front of it, and Konqueror shows the hidden files.


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
Hidden files? sonic04002 Linux - Newbie 2 11-09-2005 02:48 PM
Hidden Files coold8 Linux - General 5 04-28-2005 12:26 AM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 09:23 PM
hidden files Alwyn Linux - Newbie 2 01-27-2005 01:20 AM
M$ CD w/ Hidden files???? trey85stang Linux - Newbie 3 05-04-2004 10:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

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