May 19, 2005
Did you ever get the feeling that the browser address bar is the new command line? I keep forgetting how much functionality Google provides in their search text box; I was reminded when Damien Katz posted a link to a nice little Google search cheat sheet. Google also automatically recognizes certain strings, such as UPS tracking numbers, UPC codes, math calculations, etcetera. Here's a list of those shortcuts, with helpful examples. There's also a more comprehensive list of supposedly undocumented (at least on Google's web site) search operators. Interestingly, I found another list with at least one operator I've been looking for-- date range-- which doesn't appear at all on the other list:
- link:url Shows other pages with links to that url.
- related:url same as "what's related" on serps.
- site:domain restricts search results to the given domain.
- define:word provides a definition of the word.
- allinurl: shows only pages with all terms in the url.
- inurl: like allinurl, but only for the next query word.
- allintitle: shows only results with terms in title.
- intitle: similar to allintitle, but only for the next word. "intitle:webmasterworld google" finds only pages with webmasterworld in the title, and google anywhere on the page.
- cache:url will show the Google version of the passed url.
- info:url will show a page containing links to related searches, backlinks, and pages containing the url. This is the same as typing the url into the search box.
- spell: will spell check your query and search for it.
- stocks: will lookup the search query in a stock index.
- filetype: will restrict searches to that filetype. "-filetype:doc" to remove Microsoft word files.
- daterange: is supported in Julian date format only. 2452384 is an example of a Julian date.
- maps: If you enter a street address, a link to Yahoo Maps and to MapBlast will be presented.
- phone: enter anything that looks like a phone number to have a name and address displayed. Same is true for something that looks like an address (include a name and zip code)
- site:www.somesite.net "+www.somesite.+net"
(tells you how many pages of your site are indexed by google)
- allintext: searches only within text of pages, but not in the links or page title
- allinlinks: searches only within links, not text or title
I've always wanted to query Google for web pages created or modified earlier than a certain date, but Julian dates? Ugh! Well, at least someone already built a special Google search page to get around this limitation.
Posted by Jeff Atwood
A lot of the search commands, at least where appropriate, also work in GMail.
For example, it annoys me I can't have a view on the menu which just shows unread messages. (I tend to leave actionable e-mails in the Inbox until complete and then archive them). What I saw somewhere else you can do though is to do the search "is:unread", and this will list all unread e-mails. From that screen you can Apply a New Label and bam, a quick link to show all unread e-mails.
The "special Google search page" has a popup in Firefox stating "this only works in IE". WTF..OMG..BBQ! :P Without starting a flame war...why do you have to make things browser-specific? ActiveX is one thing..but OMG. Come on!
Back on topic...Google friggin' owns. Too bad I only have 3 shares of the stock. I wish I had bought more...oh well.
A number of these keywords can be inferred from the Google Advanced Search pages; searches done from that page will have the keywords in the resulting search criteria.
Jeff - The URL command line is finally here: yubnub.org . And you can integrate it with the Firefox address bar by setting keyword.URL.
Phillip Lenssen's expert google search tips are far, far better than mine.
Here's one about stop words:
Google doesn’t have “stop words” anymore. Stop words traditionally are words like [the], [or] and similar which search engines tended to ignore. Sometimes, when you enter e.g. [to be or not to be], Google even decides to show some phrase search results in the middle of the page (separated by a line and information that these are phrase search results).
WOW...awesome informations....can't believe a search engine like google can do so many magics. Many thanx for sharing
Yes, google rules. However, one thing I could not understand is why GMAIL does not offer a natural logic option: sorting. Its search function searchs only content, not sender's address.
Yes, the more we have, the more we want