LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-12-2004, 10:25 PM   #1
Alien18
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
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,158

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
jhayden
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.

Hth.
Josh

Last edited by jhayden; 08-12-2004 at 11:06 PM.
 
Old 08-12-2004, 10:38 PM   #5
irlandes
Member
 
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.
 
  


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
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


All times are GMT -5. The time now is 11:46 AM.

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