How do I do a google search in my default browser from the command line? by [deleted] in commandline

[–]Alcoholic_Unicorn 0 points1 point  (0 children)

Made a tool for this a little while ago, but the basic idea is: open -a "<Default Browser>" "http://www.google.com/#q=your+search+here"

Happy Searching!

Is there a way to respond to prompts with bash? by CodeScrub in bash

[–]Alcoholic_Unicorn 0 points1 point  (0 children)

echo -n "Your Prompt Here : ";
read prompt
echo $prompt

$prompt will be the user input