A command-line dictionary tool Wordsmith
Linux Magazine|#270/May 2023: Green Coding
With the dict client, you can quickly search dozens of natural language dictionary databases for the perfect word.
Bruce Byfield
A command-line dictionary tool Wordsmith

As a writer, I rarely need to look up the definition of a word. If I don’t know a word, I’m not going to risk using it. However, I frequently check that a word has the exact nuance I want. If it does not, I turn to a thesaurus to search for a closer alternative. Unfortunately, a regular dictionary is next to useless for these purposes. That is why I was pleased to discover dict [1], which not only has the information needed for such purposes, but runs from the command line for added efficiency.

A client for the DICT [2] dictionary network protocol, dict essentially searches several dozen databases and returns comprehensive results in seconds. It is available for major distributions, but note that each database is often in a separate package in distro repositories and must be installed separately from the basic command. The option --dbs (-D) will show a list of these databases, as will the web version [3] of dict (Figure 1). The databases supported by dict include a number of dictionaries, a thesaurus, a collection of acronyms, the Jargon File, the CIA World Factbook, and 34 other languages besides English – far more than the average dictionary offers. The results include not only the range of literal meanings, but numerous contexts as well. Some default results for the word “red” from my current installation are shown in Table 1.

Bu hikaye Linux Magazine dergisinin #270/May 2023: Green Coding sayısından alınmıştır.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

Bu hikaye Linux Magazine dergisinin #270/May 2023: Green Coding sayısından alınmıştır.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

LINUX MAGAZINE DERGISINDEN DAHA FAZLA HIKAYETümünü görüntüle
MADDOG'S DOGHOUSE
Linux Magazine

MADDOG'S DOGHOUSE

The stakeholder approach of open source broadens the pool of who can access, influence, and benefit from information technologies.

time-read
3 dak  |
#289/December 2024: Coding with AI
MakerSpace
Linux Magazine

MakerSpace

Rust, a potential successor to C/C++, claims to solve some memory safety issues while maintaining high performance. We look at Rust on embedded systems, where memory safety, concurrency, and security are equally important

time-read
10+ dak  |
#289/December 2024: Coding with AI
In Harmony
Linux Magazine

In Harmony

Using the Go Interface mechanism, Mike demonstrates its practical application with a refresh program for local copies of Git repositories.

time-read
9 dak  |
#289/December 2024: Coding with AI
Monkey Business
Linux Magazine

Monkey Business

Even small changes in a web page can improve the browsing experience. Your preferred web browser provides all the tools you need to inject JavaScript to adapt the page. You just need a browser with its debugging tools, some knowledge of scripting, and the browser extension Tampermonkey.

time-read
10+ dak  |
#289/December 2024: Coding with AI
Smarter Navigation
Linux Magazine

Smarter Navigation

Zoxide, a modern version of cd, lets you navigate long directory paths with less typing.

time-read
4 dak  |
#289/December 2024: Coding with AI
Through the Back Door
Linux Magazine

Through the Back Door

Cybercriminals are increasingly discovering Linux and adapting malware previously designed for Windows systems. We take you inside the Linux version of a famous Windows ransomware tool.

time-read
9 dak  |
#289/December 2024: Coding with AI
Page Pulse
Linux Magazine

Page Pulse

Do you want to be alerted when a product is back in stock on your favorite online store? Do you want to know when a website without an RSS feed gets an update? With changedetection.io, you can stay up-to-date on website changes.

time-read
8 dak  |
#289/December 2024: Coding with AI
Arco Linux
Linux Magazine

Arco Linux

ArcoLinux, an Arch derivative, offers easier installs while educating users about Arch Linux along the way.

time-read
5 dak  |
#289/December 2024: Coding with AI
Ghost Coder
Linux Magazine

Ghost Coder

Artificial intelligence is increasingly supporting programmers in their daily work. How effective are these tools? What are the dangers? And how can you benefit from Al-assisted development today?

time-read
10+ dak  |
#289/December 2024: Coding with AI
Zack's Kernel News
Linux Magazine

Zack's Kernel News

Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

time-read
9 dak  |
#289/December 2024: Coding with AI