Unhiding Hidden Files from cli

Ben Steeves ben.steeves at gmail.com
Fri Nov 12 15:09:58 UTC 2004


On Fri, 12 Nov 2004 06:03:11 +0100, Lars <terraformers at gmx.net> wrote:
> Mark Sargent wrote:
> 
> > Hi All,
> >
> > what is the command in the cli/terminal to undide hidden files so as to
> > view when doing ls command..? Cheers.

They're not hidden in the sense that the OS is purposely preventing
you from seeing them so that you won't harm them/the OS/yourself. 
That's not the UNIX way.  It is merely convention that files that
start with a 'dot' (.) are not displayed by most directory commands
(such as ls) or operated on by bash globs (for example, "cat *").

The hiding is not intrinsic to the operating system or the file
system.  You can tell any application (such as ls) to over ride its
normal behavior of not operating on the "dot-files".  In the explicit
case of 'ls', that switch is '-a'.

-- 
Ben Steeves                     _                    bcs at metacon.ca
 The ASCII ribbon campaign     ( )            ben.steeves at gmail.com
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/bcs      / \     Yahoo Messenger: ben_steeves




More information about the fedora-list mailing list