Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2005 16:00:59 +0100
From:      "Martin P. Hansen" <mph@lima.dyndns.dk>
To:        FreeBDS <freebsd-questions@freebsd.org>
Subject:   Re: Two simple questions
Message-ID:  <20051224150059.GB39212@echobase.hoth.dk>
In-Reply-To: <028c01c60899$7cf29910$210110ac@fortunato>
References:  <028c01c60899$7cf29910$210110ac@fortunato>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Dec 2005, Teilhard Knight wrote:
> What is the command to see the hidden files and folders? And how to unhide 
> them?

Assuming you use ls(1) to display your files the command would be
``ls -a'' as explained in the the manual page.

Depending on your shell you can create an alias for the ls command
which includes the -a option every time.

For sh you can edit $HOME/.profile to include a line as
alias ls="ls -a"

For csh you can edit $HOME/.cshrc to include a line as
alias ls "ls -l"

-- 
Martin P. Hansen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051224150059.GB39212>