Change website

From Jan 16 2015,


All post content will be move to we's offical website with many content...

Can access website here: http://justox.com

Thanks for your visit!

Thursday, 19 December 2013

UNIX Tips: How to find broken symbolic

In computing, a symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution.
1. To display a list of the broken links, execute:
1find -L ${dir} -type l
2. To remove the broken links, execute:
1find -L ${dir} -type l -print0 | xargs -0 rm

No comments:

Post a Comment