via. http://www.math.kobe-u.ac.jp/~kodama/tips-ruby-check-link.html ããã¡ãã£ã¨ãã¾ãæ¹æ³ããããã ãªãã¨æãã¤ã¤ããããªæãã§ã LC_ALL=C wget -nv --delete-after -m -k -p http://example.com/ &> tmp.log; grep -B1 "ERROR 404" tmp.log | grep http | sed -e "s/:$//g" ãªãã§ä¸åº¦tmp.logã«è½ã¨ãã¦ããã¨ããã¨ãä¸ã®ã³ãã³ãã ã¨ããªã³ã¯å ããæ½åºããã ããªã®ã§ããã®ããªã³ã¯å ãã調ã¹ãããã§ãã ãªã³ã¯å *åè£*ã®ãã£ããããæ½åºã¯ããªã³ã¯åãã«ãªã£ãURLã使ã£ã¦ã次ã®ãããªæãã§ãã¾ãããã¨ã©ã¼ã«ãªã£ãURLããå¼ã³åºãããåã®5ã¤ã®URLã表示ããã ããªãã§ããã grep -i ht
{{#tags}}- {{label}}
{{/tags}}