I made a little script just to make it abit easier, i find it pretty useful so i thought i would share it

Code:
#!/bin/sh
case "$#" in
    0)
    echo ""
    echo "============================="
    echo "Exploit Archive Search Script"
    echo "======Created By: Firox======"
    echo ""
    echo "Usage: $0 [keyword]"
    echo ""
    echo "Example:"
    echo "$0 apache"
    echo ""
    exit 1
;;
    *)
    EXPLOIT="$1"
    echo ""
    echo "============================="
    echo "Exploit Archive Search Script"
    echo "======Created By: Firox======"
    echo ""
    echo "*** Searching Milw0rm for [$1]"
    echo ""
cat /pentest/exploits/milw0rm/sploitlist.txt |grep -i "$1" 
    echo ""
    echo "*** Searching SecFocus for [$1]"
    echo ""
cat /pentest/exploits/secfocus/sploitlist.txt |grep -i "$1" 
echo ""


;;
esac
The easiest way to set it up is to:

$ chmod a+x ./exploits.sh
$ cp ./exploits.sh /usr/bin/exploits

Then to use:
$ exploits [keyword]