Article 5DY6A how dangerous is this command ? delete orphaned symlinks.

how dangerous is this command ? delete orphaned symlinks.

by
//////
from LinuxQuestions.org on (#5DY6A)
arch linux wiki says :
Quote:
Broken symlinks
Old, broken symbolic links might be sitting around your system; you should remove them. Examples on achieving this can be found here and here. However, you should not blindly delete all broken symbolic links, as some of them serve a purpose [1].

To quickly list all the broken symlinks of your system, use:

Code:# find / -xtype l -printThen inspect and remove unnecessary entries from this list.

and on *unix.stackexchange.com there is this command :
Code:find . -xtype l -[delete]how do i inspect which symlinks are ok?

*https://unix.stackexchange.com/quest...inks-in-one-golatest?d=yIl2AUoC8zA latest?i=arNWlOgT9bE:uG45JAtqRYU:F7zBnMy latest?i=arNWlOgT9bE:uG45JAtqRYU:V_sGLiP latest?d=qj6IDK7rITs latest?i=arNWlOgT9bE:uG45JAtqRYU:gIN9vFwarNWlOgT9bE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments