- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to display or find only softlink
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 07:28 AM
02-09-2006 07:28 AM
if I do "ls -l", it will find both :-(
Solved! Go to Solution.
- Tags:
- softlinks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 07:31 AM
02-09-2006 07:31 AM
Re: how to display or find only softlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 07:33 AM
02-09-2006 07:33 AM
Re: how to display or find only softlink
- Tags:
- find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 07:34 AM
02-09-2006 07:34 AM
Re: how to display or find only softlink
You can use find
find . -type l
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:07 AM
02-09-2006 09:07 AM
Re: how to display or find only softlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:15 AM
02-09-2006 09:15 AM
Re: how to display or find only softlink
so I had to use "\->", that did the trick..
I wish there is a way to display the softlink differently
like right now, it is
softlink real-link
so I have to reverse it to be
real-link softlink when I use "ln -s real-link softare" to recreate some of the softlinks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:35 AM
02-09-2006 09:35 AM
Re: how to display or find only softlink
that is exactly what I want!!!
thank you soo much
I assigned points to everyone..
you guys are the bEST!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:39 AM
02-09-2006 09:39 AM
Re: how to display or find only softlink
Sorry for the typo spelling your name.
If you prefer, add the 'ln -s' to your output, too:
# find /var -type l | xargs ls -l | awk '{print "ln -s",$NF,$(NF-2)}'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 09:44 AM
02-09-2006 09:44 AM
Re: how to display or find only softlink
too beautiful!!
thanks again!!! million times!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 01:19 PM
02-09-2006 01:19 PM
Re: how to display or find only softlink
I agree with him!
Just comment that "-type l" mean search all link file.
Enjoy with scripting
tienna