commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
if [ -n "$1" ]
Ive aliased this script as 'google' on my system and I can type 'google "search terms"' to open firefox with my search terms. My first post here, if there are any improvements to be made please let me know in the comments.
There is 1 alternative - vote for the best!
google query_with_spaces "
so, make sure to end your query with a double quote
If you can do better, submit your command here.
You must be signed in to comment.