[ale] the 'ls' command

Pete Hardie pete.hardie at sciatl.com
Fri Feb 28 18:21:43 EST 2003


Sean Kilpatrick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> sometimes the man and info pages leave questions unanswered.
> 
> Specifically, in <man ls> I see these lines:
> 
> <  -F, --classify
> <            append indicator (one of */=@|) to entries
> 
> 
> Now I read somewhere that one of those symbols indicates
> a sym link, which I am trying to check for right now.
> But I can't find out which one.
> And it would be nice to know what all five stand for.
> Any clues on where to look?

<MYSTIC_JEDI_VOICE>
Use the Source, Luke.....
</MYSTIC_JEDI_VOICE>


Seriously, why not create a directory, put in a file, a symlink, a directory,
a hardlink, a pipe, and a device, and see?


from experiment:

@ is a symlink
* is executable (by the mode setting)
/ is a directory
| is a named pipe




-- 
Pete Hardie                   |   Goalie, DVSG Dart Team
     posting from, but not     |
	speaking for:             |
Scientific Atlanta, Digital Video Services Group



     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. 

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list