Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>@Lri - Here is a script I personally use for my purpose of command line tools &amp; scripts. It uses the command line utility "lynx" for dumping the URLs. Script can be downloaded from <a href="http://wtfuzz.com/code/gocmd.sh" rel="nofollow">HERE</a> and code view is <a href="http://wtfuzz.com/code/gocmd.sh.txt" rel="nofollow">HERE</a>. Here is the code for your reference,</p> <pre><code>#!/bin/bash clear echo "" echo ".=========================================================." echo "| |" echo "| COMMAND LINE GOOGLE SEARCH |" echo "| --------------------------------------------------- |" echo "| |" echo "| Version: 1.0 |" echo "| Developed by: Rishi Narang |" echo "| Blog: www.wtfuzz.com |" echo "| |" echo "| Usage: ./gocmd.sh &lt;search strings&gt; |" echo "| Example: ./gocmd.sh example and test |" echo "| |" echo ".=========================================================." echo "" if [ -z $1 ] then echo "ERROR: No search string supplied." echo "USAGE: ./gocmd.sh &lt;search srting&gt;" echo "" echo -n "Anyways for now, supply the search string here: " read SEARCH else SEARCH=$@ fi URL="http://google.com/search?hl=en&amp;safe=off&amp;q=" STRING=`echo $SEARCH | sed 's/ /%20/g'` URI="$URL%22$STRING%22" lynx -dump $URI &gt; gone.tmp sed 's/http/\^http/g' gone.tmp | tr -s "^" "\n" | grep http| sed 's/\ .*//g' &gt; gtwo.tmp rm gone.tmp sed '/google.com/d' gtwo.tmp &gt; urls rm gtwo.tmp echo "SUCCESS: Extracted `wc -l urls` and listed them in '`pwd`/urls' file for reference." echo "" cat urls echo "" #EOF </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload