Need to find any broken Symlinks on your server? Here is a handy command: for i in `find /var/www/html -type l`; do [ -e $i ] || echo $i is broken; done
for i in `find /var/www/html -type l`; do [ -e $i ] || echo $i is broken; done
<code>
<blockcode>
<apache>
<bash>
<c>
<cpp>
<css>
<drupal5>
<drupal6>
<java>
<javascript>
<php>
<python>
<ruby>
<vim>
<xml>
<foo>
[foo]
More information about formatting options
No comments
Post new comment