Google search use in your Terminal on Kali Linux

hello, Want to use "Search on Google" in your Gnome Terminal? added the Google search support for it. See the code which is given below. add this code in your .bashrc file.

step 1.

root@Lh4cKg:~# vim .bashrc

function google { Q="$@"; GOOG_URL='https://www.google.de/search?tbs=li:1&q='; AGENT="Mozilla/4.0"; stream=$(curl -A "$AGENT" -skLm 10 "${GOOG_URL}${Q//\ /+}" | grep -oP '\/url\?q=.+?&amp' | sed 's|/url?q=||; s|&amp||'); echo -e "${stream//\%/\x}"; }




step 2.

useage google search in terminal

google word1 word2 word3

root@Lh4cKg:~# google lgogua.blogspot.com



Thanks for reading

SHARE

About Lasha Gogua

    Blogger Comment
    Facebook Comment

9 comments:

  1. what theme do you use how did you get your desktop like that and you have an amazing blog many kudos please dont give up like other bloggers have

    ReplyDelete
    Replies
    1. hello, bro i use: window theme,icon theme : best-of-darkblue, conky-manager1.2 and cyborg theme, background : alienware image

      Delete
  2. There is a problem:

    usage: grep [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
    [-e pattern] [-f file] [--binary-files=value] [--color=when]
    [--context[=num]] [--directories=action] [--label] [--line-buffered]
    [--null] [pattern] [file ...]

    ReplyDelete
  3. Your blog has given me that thing which I never expect to get from all over the websites. Nice post guys!

    Melbourne SEO Services

    ReplyDelete
  4. Do you wonder why CYBERHACKPROS@GMAIL.COM is the most talked about hacker on this forum? I think it is due to the fact that he offers the best service ever, I mean the best in so many ways, most SKILLFUL, TIMELY, name it, he's got it all. He is a pro hacker with vast experience and knowledge in hacking, he handles all jobs professionally. You might be wondering how I got to know all these, right?
    There is this popular saying which goes thus "SEEING IS BELIEVING". He recently helped me to hack into my spouse's WATSAPP and all his secrets was exposed.
    CONTACT HIM: CYBERHACKPROS@GMAIL.COM call and text +1 512 605 1256

    ReplyDelete
  5. My name is Sarah Cambell, i was able to spy on my cheating ex-Husband phone without him finding out…..it really helped my lawyer during my divorce i have been scammed so many times but cyberhacklove is the best hacker i have met he helped me regain my freedom and lost money by scammers …you can contact cyberhacklove@gmail.com for spying and hacking phones,computer,email,Facebook and other social networks account,his services are cheap …cyberhacklove@gmail.com # +16066579237,Number:+16066579237.
    INSTAGRAME: Samhoffman3. please tell him Sarah referred you

    ReplyDelete
  6. Confront your cheating spouse with evidence, i was able to spy on my cheating ex phone without finding out.....it really helped me during my divorce ...you can contact (HACKINTECHNOLOGY@GMAIL.COM) call and text (669) 225-2253 for spying and hacking social networks, school servers, icloud and much more, viber chats hack, Facebook messages and yahoo messenger, calls log and spy call recording, monitoring SMS text messages remotely, cell phone GPS location tracking, spy on Whats app Messages, his services are AFFORDABLE .................................... ONLY GOD CAN THANK HIM FOR M

    ReplyDelete
  7. Stop being scammed by fake hackers. Hire a Ethical Hacking group who are professional and real. You might be curious that what hacking group services can provide? .. If you hire a hacker, you always have worried of losing your money. We won't keep a cent if can't do your job. 100% refund if job is not completed. Hacking Services that you will find here at: hackethics008@gmail.com are custom to fit your hacking needs... A professional and experienced hacker providing hacking services for a variety of client needs. Specialize in many different Hacking Services some of my most popular hacking services OR SOCIAL NETWORK AND KNOW IF YOUR PARTNER IS CHEATING ON YOU HACK INTO YOUR PARTNER'S PHONE PICS, TEXT MESSAGE AND LISTEN TO CALLS TO KNOW IF HE IS CHEATING UNTRACEABLE INTERNET. HACK ETHICS RENDER WITHIN 24 hours. Contact us at - hackethics008@gmail.com or text only - +1(630) 755 8868.We are totally secured and your security comes first.
    we are best in our jobs which are
    . Change School Grade
    . Bank jobs, Flipping cash
    . Hack and control any robot
    . Database hack
    . Remove Criminal Records
    1-facebook hack
    2-gmail hack
    3-whatsapp hack
    4-website hack
    5-tracking calls
    6-online hacking lectures
    7-phone clone
    8-online records changes
    9-retrival of hacked social media accounts
    10- university grades
    11- android and iphone hack
    12- twitter hack
    13- any website hack
    If you are looking for a professional Hacker that specialized in genuine hacking services. Contact our email - hackethics008@gmail.com or text only - +1(630) 755 8868
    WE CAN HELP YOU TRACE THE ACTUAL LOCATION OF THE PERSON AND DO WHATEVER YOU REQUEST TO THE PERSONS COMPUTER IS ANYONE BLACKMAILING YOU ONLINE AND YOU WANT US TO GET INTO THEIR COMPUTER AND DESTROY DATA AND EVIDENCES AGAINST YOU? If you need a hacking service that is not listed, feel free to contact me at: hackethics008@gmail.com or text only - +1 (630) 755-8868.

    ReplyDelete