You are herelinux

linux


Installing Nmap 5.0 on Ubuntu Jaunty (9.04)

As of this post the current version of nmap in the ubuntu repositories is 4.76. Here are the steps I used to install the new version 5.0 on Ubuntu Jaunty 9.04.

  1. sudo aptitude install build-essential
  2. sudo apt-get install libssl-dev
  3. mkdir src
  4. cd src
  5. wget -c http://nmap.org/dist/nmap-5.00.tar.bz2
  6. bzip2 -cd nmap-5.00.tar.bz2 | tar xvf -
  7. cd nmap-5.00/
  8. ./configure
  9. make
  10. sudo make install

To run go to Applications > Internet > Zenmap (as root).

Grabbing all the PDF files from a website

I found a website (not listed) below that had the whole service manual for my car at no charge (normally about $300 US). The site gave me 74 links to PDF files! As excited as I was, I wasn't in the mood to click on 74 links. So I googled around and found the following one-liner.

wget `lynx -dump URL | grep .pdf$ | sed 's/[[:blank:]]\+[[:digit:]]\+\. //g'`
where URL is the URL where all the PDF files are.

11 seconds later I had all 74 PDF files. Cheers!