---
title: "One Line to Search Wiki in Linux With GUI"
description: "I just tried make a one liner to get info about keywords from Wikipedia. This is just an idea can be further advanced , the."
url: "https://h3manth.com/scribe/one-line-search-wiki-linux-gui/"
canonical_url: "https://h3manth.com/scribe/one-line-search-wiki-linux-gui/"
markdown_url: "https://h3manth.com/scribe/blog/one-line-search-wiki-linux-gui.md"
publishDate: "2009-08-01T00:00:00.000Z"
author: "Hemanth HM"
category: "linux"
tags: ["ubuntu","bash","web","linux"]
word_count: 159
reading_time_minutes: 1
x_markdown_tokens: 323
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# One Line to Search Wiki in Linux With GUI

> I just tried make a one liner to get info about keywords from Wikipedia. This is just an idea can be further advanced , the.

I just tried make a one liner to get info about keywords from Wikipedia.

This is just an idea can be further advanced , the command is just use of the wiki dns and few utilities like dig and zenity.

```bash
**zenity --info --text="$(dig +short txt $(zenity --entry --title="Search wiki" --text="Enter your search word:").wp.dg.cx)"**
```

Sample output : Say if the search term was "Ubuntu" , the output would be :

"Ubuntu ( in English, in Zulu) is a computer operating system based on Debian GNU/Linux. Its name comes from the Zulu word "ubuntu", translated as "humanity to others", describing the ubuntu philosophy: "I am what I am because of who we all are", a positiv" "e aspect of community. Ubuntu's goals include providing an up-to-date, stable operating system for the average user, with a... http://a.vu/w:Ubuntu"

Download the file and place it in /bin and make a custom application launcher or just use it as a plain cli app.
