Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th August 2011, 12:16 PM
salemeni Offline
Registered User
 
Join Date: Aug 2011
Posts: 64
linuxchrome
Find symbolic links in error

A symbolic link (or symlink) is actually a special entry that typically found on Unix systems, and can point to a file or directory in a transparent manner (see B on the diagram name below) .




Sometimes these links are in error following the renaming of a file or moving a directory. Here is a command to scan all the symbolic links of a system and to detect those errors.

Note the use of perl to test the proper functioning of the symbolic link:
Code:
find / -type l | perl -lne 'print if ! -e'
Code:
sudo find -L / -type l 2>/dev/null
comparing objects

Last edited by salemeni; 6th December 2011 at 08:28 AM.
Reply With Quote
Reply

Tags
error, links, symbolic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install symbolic links via RPM? gbuergisser Programming & Packaging 2 30th June 2011 09:10 AM
Using symbolic links in /var/ftp/ with vsftpd Stone Dragon Servers & Networking 3 13th December 2007 08:56 PM
Symbolic links ajamison Using Fedora 3 5th May 2007 04:16 AM
VSFTPD + symbolic Links cpnbnanamn Servers & Networking 10 12th December 2006 03:26 PM
Symbolic links. mattmns Using Fedora 6 16th March 2005 04:54 AM


Current GMT-time: 09:12 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat