HP3000-L Archives

October 2006, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dave Oksner <[log in to unmask]>
Reply To:
Dave Oksner <[log in to unmask]>
Date:
Mon, 9 Oct 2006 13:33:43 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (79 lines)
You can use the 'find' command and tell it to only process files of type
"symbolic link."

eg.:

find /tmp/ -type l -exec ls -l {} \;

which would start from the /tmp directory, look for symbolic links, and
execute "ls -l" on the filenames it finds.  You could, of course, eliminate
the last part if you only wanted to know what the filenames were and get

find /tmp/ -type l

(I believe it's the same as using '-print' instead of '-exec [command]')

Beware of output to stderr (if you don't have permission to read a directory,
you'll get errors) getting interspersed.

Dave

On Mon, Oct 09, 2006 at 10:19:38AM -0500, Ray Shahan wrote:
> Hi all,
> 
>  
> 
>             The 'mpe-to-hp-ux' site states that there's no equivalent
> command in UNIX for our beloved LISTEQ command, however, I'd like to be
> able to see/understand what symbolic links are setup on our system, so
> is there some convenient way to do this in POSIX?
> 
>  
> 
>  
> 
> TIA,
> 
>  
> 
>  
> 
>   <http://www.republictitle.com/> 
> 
> Ray Shahan
> 
> Computer Programmer
>  REPUBLIC TITLE OF TEXAS, INC. <http://www.republictitle.com/> 
>   2701 W Plano Parkway
> <http://maps.yahoo.com/maps_result?addr=2701+w+plano+parkway&csz=75075&c
> ountry=us&new=1&name=&qty=>  
> Plano, TX 75075
> 
>  
> 
> 
> direct 214.556.0202
> main 972.578.8611
> fax 972.424.5621
> 
>  www.republictitle.com <http://www.republictitle.com/> 
> 
> [log in to unmask]
> 
>  
> 
>  
> 
> 
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

-- 
+--David Oksner-----http://www.case.net/--+
|MURPHY'S LAW:                            |
|  If anything can go wrong, it will.     |
[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2