Two simple questions

2005-12-24 Thread Teilhard Knight
What is the command to see the hidden files and folders? And how to unhide 
them?


Teilhard. 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Russell J. Wood
On Sat, Dec 24, 2005 at 08:51:13AM -0600, Teilhard Knight wrote:
 What is the command to see the hidden files and folders? And how to unhide 
 them?

If you're referring to dot files, then the following will show them:

ls -a

If that is too tedious, then an alias in your shell's RC file can sort
that out (e.g. for /bin/sh: alias ls='ls -a').

- Russell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Michael C. Shultz
On Saturday 24 December 2005 06:51, Teilhard Knight wrote:
 What is the command to see the hidden files and folders? And how to unhide
 them?

 Teilhard.

1) ls -A(see man ls)
2) if you use the standard csh shell try ll (see .cshrc)

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Martin P. Hansen
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Micah

Teilhard Knight wrote:
What is the command to see the hidden files and folders? And how to 
unhide them?


Teilhard.


You should specify if you mean at the command line or in knoqueror 
(which you mentioned in another post).  From the command line use ls -a 
or la in the default csh install.  In konqueror use view-show hidden files.


You cannot unhide a hidden dot-file without renaming it.  Renaming it 
will make it impossible for the programs that use the file to find it.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Jerry McAllister
 
 Teilhard Knight wrote:
  What is the command to see the hidden files and folders? And how to 
  unhide them?
  
  Teilhard.

Micah's response is correct, but just an additional comment.
In FreeBSD UNIX, there are really no 'hidden' files.   They are
all just files with names in a specific style - in most cases that
means they start with a dot (.).   They are no different than other
file names as far as UNIX is concerned.   They are no 'hidden' to
keep you from seeing them or doing things with them as in MS.

But, because most of the time you do not want to waste display time 
or space looking at those file names when you list files, many utilities 
such as ls do not show then by default - they skip over them.   In almost 
all cases, to get those utilities to show them in their listings, you 
just need to use a flag on the command - the -a flag in the case of ls.

 
 You should specify if you mean at the command line or in knoqueror 
 (which you mentioned in another post).  From the command line use ls -a 
 or la in the default csh install.  In konqueror use view-show hidden files.
 
 You cannot unhide a hidden dot-file without renaming it.  Renaming it 
 will make it impossible for the programs that use the file to find it.
 
 HTH,
 Micah
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Teilhard Knight

On Saturday 24 December 2005 06:51, Teilhard Knight wrote:
What is the command to see the hidden files and folders? And how to 
unhide

them?

Teilhard.


1) ls -A (see man ls)
2) if you use the standard csh shell try ll (see .cshrc)

-Mike


Thanks.

Teilhard 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Teilhard Knight

On Sat, Dec 24, 2005 at 08:51:13AM -0600, Teilhard Knight wrote:
What is the command to see the hidden files and folders? And how to 
unhide

them?


If you're referring to dot files, then the following will show them:

ls -a

If that is too tedious, then an alias in your shell's RC file can sort
that out (e.g. for /bin/sh: alias ls='ls -a').

- Russell


Thank you. I find nothing tedious in typing a '-a'.

Teilhard.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Teilhard Knight

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


Thank you for such a detailed info.

Teilhard. 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Teilhard Knight

Teilhard Knight wrote:
What is the command to see the hidden files and folders? And how to 
unhide them?


Teilhard.


You should specify if you mean at the command line or in knoqueror (which 
you mentioned in another post).  From the command line use ls -a or la in 
the default csh install.  In konqueror use view-show hidden files.


You cannot unhide a hidden dot-file without renaming it.  Renaming it 
will make it impossible for the programs that use the file to find it.


HTH,
Micah


Thank you. I need to think differently than windoze, but I have to learn
how. Sort of apologizing.

Teilhard

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Teilhard Knight

Teilhard Knight wrote:
 What is the command to see the hidden files and folders? And how to
 unhide them?

 Teilhard.


Micah's response is correct, but just an additional comment.
In FreeBSD UNIX, there are really no 'hidden' files.   They are
all just files with names in a specific style - in most cases that
means they start with a dot (.).   They are no different than other
file names as far as UNIX is concerned.   They are no 'hidden' to
keep you from seeing them or doing things with them as in MS.

But, because most of the time you do not want to waste display time
or space looking at those file names when you list files, many utilities
such as ls do not show then by default - they skip over them.   In almost
all cases, to get those utilities to show them in their listings, you
just need to use a flag on the command - the -a flag in the case of ls.


Thanks. One has to learn how to detatch oneself from Windows, huh?

Teilhard. 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two simple questions

2005-12-24 Thread Michael C. Shultz
On Saturday 24 December 2005 08:37, Teilhard Knight wrote:
  On Saturday 24 December 2005 06:51, Teilhard Knight wrote:
  What is the command to see the hidden files and folders? And how to
  unhide
  them?
 
  Teilhard.
 
  1) ls -A (see man ls)
  2) if you use the standard csh shell try ll (see .cshrc)
 
  -Mike

 Thanks.

 Teilhard

welcome

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]