Two simple questions

Martin P. Hansen mph at lima.dyndns.dk
Sat Dec 24 07:01:01 PST 2005


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


More information about the freebsd-questions mailing list