macOS
brew install eg-exampleslocal Homebrew formula metadata
brew / rank 6795
Useful examples at the command-line. Version 1.2.3 via Homebrew; verified from local package data. Also installable with dnf: sudo dnf install eg.
install
brew install eg-exampleslocal Homebrew formula metadata
sudo dnf install egFedora Rawhide package metadata · eg · source: dl.fedoraproject.org
overview
Useful examples at the command-line
history
eg is a command-line examples browser: a companion to man pages that shows short, practical examples for common Unix commands.
The srsudar/eg repository was created in 2015. Its README says the name comes from exempli gratia and positions the tool as a way to get examples for commands like find and tar without reading a full manual page.
eg was packaged for both pip and Homebrew, with the Homebrew formula named eg-examples to avoid colliding with the separate Expert Guide package named eg. The README also documents running from source with a symlink to eg_exec.py.
Users run eg followed by a program name, such as eg find, or run eg --list to see available example topics. Example files live as Markdown in an examples directory, and output is normally paged through less while respecting PAGER.
The tool supports custom example directories, an XDG config file at $XDG_CONFIG_HOME/eg/egrc, a legacy ~/.egrc location, color settings, squeezed output, substitutions, and custom pagers.
eg-examples is a neat package-manager corner case: the upstream command is simply eg, but the Homebrew package name is disambiguated because another historical terminal tool already owns the eg formula name.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/eg/egrc~/.egrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
eg | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:eg-examples |
|---|---|
| Version | 1.2.3 |
| Package manager | Homebrew |
| Homepage | https://github.com/srsudar/eg |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
eg 1.7.5.2-44.fc45
Git for mere mortals
http://www.gnome.org/~newren/eg/
sudo dnf install egsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.