Skip to content

Commit

Permalink
Add a command to check all URLs from a web page or RSS feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgreg committed Dec 14, 2012
1 parent 0e8a293 commit 02a9a4d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ file relatives
### less on a source file with syntax highlighting
`highlight -l -A SOURCE_FILE | less -R`


Web relatives
--------------

### Check status of all link from a web page or rss feed
`wget -O - http://blog.valtech.fr/podcasts/podcasts.xml | grep -o -E 'http://([^"#<]+)' | cut -d'"' -f2 | sort | uniq | parallel "curl -o /dev/null --silent --head --write-out '%{http_code} %{url_effective}\n' {1}"`

media relatives
---------------

Expand Down

0 comments on commit 02a9a4d

Please sign in to comment.