310 Command-Line Tools in ONE Repo?! util_box Turns Your Phone and Your Linux Box Into a Pocket Workshop
util_box is 310 small, sharp command-line utilities for Termux and Linux: file tools, text tools, 110 system monitors, Termux helpers and more. Every one has --help, --selftest, a verified example and a screenshot. Build it with make and go.
util_box is 310 small, sharp command-line utilities for Termux and Linux: file organization, text tools, system and network monitors, disk tools, archives and converters, Termux/Android helpers, converters and generators, dev helpers, and a few just for fun. Every utility is a real working tool with a --help and a --selftest; nothing is a stub. The test suite builds everything and runs all 310 smoke tests — and it passes 310/310.
That is the whole pitch: one repo, one make, and your phone or your Linux box gains a workshop. The split is honest about where each language earns its keep — 113 in C where performance matters (monitors, system tools), 172 in Python and 25 in bash where glue and text processing fit better. Everything is standard library / coreutils / POSIX only: no third-party packages, no GUI, no exotic dependencies.
Below is the full set — all 310 utilities, each with its description, a command example you can run, and a screenshot. The examples assume bin/ is on your PATH (see Install) and use small sample files; every example in the repo was run in a fresh scratch directory and verified to work. Screenshots are served straight from the repo.
Install
git clone https://github.com/cnmcdee/util_box.git
cd util_box
makemake compiles the C/C++ utilities into bin/ (113 of the 310). The Python (172) and bash (25) utilities are scripts that run directly — no build step is needed for them. Put bin/ on your PATH to run the utilities by name from anywhere:
export PATH="$PWD/bin:$PATH"Termux (Android)
pkg install clang python
git clone https://github.com/cnmcdee/util_box.git
cd util_box
make
export PATH="$PWD/bin:$PATH"clang builds the C/C++ tools on-device; python runs the Python ones. The tx* utilities also need the Termux:API app (pkg install termux-api) for the Android features they wrap — without it they print a clear message instead of crashing, and several have a Linux fallback (txstorage falls back to df, txbattery to /sys).
Usage
Every utility is one command with a --help and a --selftest:
bigfind --help # what it does and all its flags
bigfind -n 5 ~/Downloads
dupfind --selftest # built-in check on sample files, exit 0 on successMost utilities take a directory or a file and print a report to stdout; several offer --json for scripting. Tools that change files (renumber, permfix, gitclean, searchrep, …) show a preview by default and only change anything with an explicit flag such as --apply or --move — run them without the flag first to see the plan. To check the whole set after building:
tests/run_all.sh # build, then run every --help and --selftestThe test runner builds first, then runs all 310 smoke tests in parallel (up to 8 concurrent) with a 60 s timeout each, and reports pass/fail per utility. It exits 0 only if the build and every test pass.
The 310 utilities
Thirteen slices, 310 tools. Jump to a slice:
- Slice A — File organization & dedup (25)
- Slice B — File content & text (25)
- Slice C — System monitoring (25)
- Slice D — Network monitoring (25)
- Slice E — Disk & storage (25)
- Slice F — Archives, conversion, checksums, metadata (25)
- Slice G — Termux/Android (25)
- Slice H — Time, dates, units, converters, generators (25)
- Slice I — Dev & shell helpers (25)
- Slice J — Fun, creative, novel concepts (25)
- Slice K — More monitors: temperature, CPU & memory (25)
- Slice L — More monitors: disk, network & process (25)
- Slice M — More monitors: GPU, power & system (10)
Slice A — File organization & dedup (25)
001 · dustack
show which subdirectories grew most since the last snapshot (growth tracker, not just du)
dustack --snapshot snap.json .
dustack --compare snap.json .
dustack in action.002 · dupfind
find duplicate files by content hash, with a keep-newest/largest policy and a dry-run plan
dupfind .
dupfind in action.003 · namefix
rename files to a safe portable scheme (strip weird chars, optional lowercase) with an undo log
namefix --dry-run .
namefix in action.004 · exifsort
sort photos into YYYY/MM folders by EXIF/date, dry-run first
exifsort --dry-run .
exifsort in action.005 · emptyhunt
find empty directories deepest-first, report and optionally remove
emptyhunt .
emptyhunt in action.006 · flatpack
flatten a nested tree into one directory, resolving name clashes with suffixes
flatpack --dry-run tree/ flat/
flatpack in action.007 · splitjoin
split a file into N MB chunks and rejoin from a manifest with checksums
splitjoin split sample.bin --size 1
splitjoin join sample.bin.manifest --out rejoined.bin
splitjoin in action.008 · bigfind
top-N largest files with age, type and parent-dir context
bigfind -n 5 .
bigfind in action.009 · oldfiles
files untouched for X days grouped by directory, with size totals and an archive plan
oldfiles --days 30 .
oldfiles in action.010 · renumber
rename a set of files to a sequential numbered scheme, preserving extensions, with preview
renumber --dry-run --prefix img photos/
renumber in action.011 · casefix
fix filename case collisions (Foo.txt vs foo.txt) for case-insensitive filesystems
casefix --dry-run .
casefix in action.012 · extfix
detect a file's real type by magic bytes and fix a wrong extension
extfix --dry-run .
extfix in action.013 · dirwatch
snapshot a directory tree (names+sizes+hashes) and later diff it to show exactly what changed
dirwatch snapshot -o snap.json .
dirwatch diff -s snap.json .
dirwatch in action.014 · treeclean
remove common junk (thumbs.db, .DS_Store, *~, __pycache__) with a preview and count
treeclean --dry-run .
treeclean in action.015 · sortbyage
move files into folders by age buckets (today / this week / this month / older)
sortbyage --dry-run .
sortbyage in action.016 · hashmanifest
create a sha256 manifest of a tree; verify it later
hashmanifest create src -o MANIFEST.sha256
hashmanifest verify src -m MANIFEST.sha256
hashmanifest in action.017 · fileage
a file's age in human terms plus its birth time when the filesystem reports one
fileage sample.txt old.txt
fileage in action.018 · nestcount
count files by depth level in a tree (how deep is the mess?)
nestcount .
nestcount in action.019 · similar
find near-duplicate filenames (fuzzy match) that may be duplicates under different names
similar .
similar in action.020 · archage
find archives older than X days and report their compression ratios
archage --days 0 .
archage in action.021 · copysafe
copy a tree with post-copy hash verification and resume on interruption
copysafe src/ copydest/
copysafe in action.022 · moveplan
dry-run planner: given move rules, show what would move where, then apply
moveplan --rule '*.txt -> txt/' .
moveplan in action.023 · linkcheck
find broken symlinks in a tree, with their targets
linkcheck .
linkcheck in action.024 · hardlink
find files with multiple hard links and report the link groups
hardlink .
hardlink in action.025 · lostfound
digital-hoarding report: files untouched 2+ years and over 100 MB
lostfound --years 0 --min-size 1K .
lostfound in action.Slice B — File content & text (25)
026 · wordfreq
word frequency histogram with stopword filtering and a top-N bar chart
wordfreq sample.txt
wordfreq in action.027 · linecount
lines/words/chars per file in a tree, with a summary table and largest-file highlight
linecount .
linecount in action.028 · diffwords
word-level diff of two text files (not line-level)
diffwords --no-color a.txt b.txt
diffwords in action.029 · csvpeek
preview a CSV: columns, inferred types, row count, nulls, sample rows
csvpeek sample.csv
csvpeek in action.030 · jsonpeek
summarize JSON structure: keys, types, depth, size, sample values
jsonpeek sample.json
jsonpeek in action.031 · logtail
tail a log with colorized levels and a lines-per-second rate meter
logtail -n 3 --no-color sample.log
logtail in action.032 · textclean
normalize text: trim trailing whitespace, fix line endings, collapse blanks, ensure final newline
textclean messy.txt
textclean in action.033 · searchrep
search/replace across a tree with preview, backups, and a change count
searchrep hello goodbye sample.txt
searchrep in action.034 · uniqcount
count unique lines with frequencies, sorted
uniqcount sample.txt
uniqcount in action.035 · csvsum
sum/average/min/max a numeric CSV column, optionally grouped by another column
csvsum age sample.csv
csvsum in action.036 · csvstat
per-column CSV statistics: distinct values, nulls, min/max
csvstat sample.csv
csvstat in action.037 · xmlpeek
summarize an XML file: tag counts, depth, attributes
xmlpeek sample.xml
xmlpeek in action.038 · lineend
detect and convert line endings (CRLF/LF/CR) with a report
lineend crlf.txt
lineend in action.039 · encfix
detect and convert text encodings (UTF-8/16, latin-1) with a report
encfix latin1.txt
encfix in action.040 · badlines
find overlong lines, trailing whitespace, and tabs — a lint for text files
badlines messy.txt
badlines in action.041 · headtail
show the first and last N lines of a file together (context sandwich)
headtail -n 2 sample.txt
headtail in action.042 · randline
pick N random lines from a file
randline -n 2 --seed 1 sample.txt
randline in action.043 · sortuniq
sort and dedupe a file in place, with a backup
sortuniq unsorted.txt
sortuniq in action.044 · csvjoin
join two CSVs on a key column
csvjoin --left-key id --right-key id left.csv right.csv
csvjoin in action.045 · jsongrep
grep inside JSON values by key path
jsongrep --key '*.email' sample.json
jsongrep in action.046 · loghist
histogram of log events by hour, parsed from timestamps
loghist sample.log
loghist in action.047 · textstat
readability stats: sentences, average word length, estimated reading time
textstat sample.txt
textstat in action.048 · hexpeek
hexdump with ASCII and highlighting of printable runs
hexpeek sample.txt
hexpeek in action.049 · tailfollow
follow a file and show only lines matching a pattern, with running counts
tailfollow --from-start --timeout 1 ERROR sample.log
tailfollow in action.050 · diffside
side-by-side diff of two files in the terminal, with color
diffside --no-color a.txt b.txt
diffside in action.Slice C — System monitoring (25)
051 · cpugraph
live ASCII CPU usage graph per core, read from /proc/stat, with refresh
cpugraph --frames 1 --interval 0.2
cpugraph in action.052 · memtop
top memory users with a bar chart, snapshot mode, sorted by RSS
memtop -n 3
memtop in action.053 · proctree
process tree with CPU and memory per branch, collapsed by user
proctree --max-depth 2
proctree in action.054 · loadhist
record load average over time into a log and show a sparkline history
loadhist --record --file ./loadhist.log
loadhist --show --file ./loadhist.log
loadhist in action.055 · swapwatch
which processes use swap, how much, and the trend since last check
swapwatch -n 3
swapwatch in action.056 · zombiefind
find zombie processes and report their parents
zombiefind
zombiefind in action.057 · fdleak
processes with the most open file descriptors, with growth since last check
fdleak -n 3
fdleak in action.058 · threadcount
processes with the most threads, top-N
threadcount -n 3
threadcount in action.059 · bootlog
boot time, uptime, and load since boot in one line
bootlog
bootlog in action.060 · cputemp
CPU temperature from /sys with a tiny history graph (graceful message if absent)
cputemp
cputemp in action.061 · fanwatch
fan speeds from /sys/hwmon when present, graceful message otherwise
fanwatch
fanwatch in action.062 · prochist
record one process's CPU/mem over time (sampled) and plot it after it exits
prochist --pid 1 --samples 2 --interval 0.2
prochist in action.063 · nicewatch
processes with unusual nice/priority values
nicewatch
nicewatch in action.064 · oomscore
top processes by OOM score — who the kernel would kill first
oomscore -n 3
oomscore in action.065 · memfrag
memory fragmentation estimate from /proc/buddyinfo
memfrag
memfrag in action.066 · pressure
PSI (pressure stall information) reader with a human summary
pressure
pressure in action.067 · schedtop
which processes are waiting on CPU (run queue) right now
schedtop
schedtop in action.068 · cpufreq
current CPU frequency per core, with min/max
cpufreq
cpufreq in action.069 · sysnap
one-shot system snapshot: load, memory, top processes, disk, network in one report
sysnap
sysnap in action.070 · watchdog
watch a process and report (and optionally restart) when it dies or exceeds limits
watchdog --cmd "sleep 0.5" --checks 3 --interval 0.2
watchdog in action.071 · prockill
interactive kill by pattern with a dry-run preview first
prockill nosuchpattern123
prockill in action.072 · memmap
one process's memory map summary (heap, stack, libraries) in human sizes
memmap 1
memmap in action.073 · iowait
processes with high I/O wait, from /proc/stat and /proc/*/io
iowait --interval 0.2
iowait in action.074 · topdisk
processes doing the most disk I/O right now (reads and writes)
topdisk -n 3 --interval 0.2
topdisk in action.075 · kernellog
tail the kernel log with severity colors and a filter
kernellog -n 3
kernellog in action.Slice D — Network monitoring (25)
076 · netgraph
live ASCII traffic graph per interface, from /proc/net/dev, with refresh
netgraph -n 2 -i 0.2 lo
netgraph in action.077 · nettop
per-process network usage, best-effort mapping from sockets to processes
nettop --once
nettop in action.078 · portscan
which local ports are listening and what owns them
portscan --tcp
portscan in action.079 · portwatch
watch a port and report when it opens or closes
portwatch 127.0.0.1 22 -t 2 -i 1
portwatch in action.080 · dnstime
measure DNS resolution time for a list of hosts
dnstime localhost -n 1
dnstime in action.081 · pingraph
ping a host and draw a latency graph over time
pingraph -c 2 -i 0.2 127.0.0.1
pingraph in action.082 · conntrack
count active TCP connections by state and by remote host
conntrack
conntrack in action.083 · bandwidth
total bytes in/out per interface since boot, with current rates
bandwidth lo -i 1
bandwidth in action.084 · socklist
list sockets with process, state, and remote endpoint
socklist --tcp
socklist in action.085 · wifisignal
Wi-Fi signal strength from /proc/net/wireless or iw, with fallback
wifisignal
wifisignal in action.086 · ipinfo
all interfaces, IPs, MTU, and gateway in one table
ipinfo
ipinfo in action.087 · latency
measure latency to several hosts and rank them
latency 127.0.0.1 -p 22 -n 1
latency in action.088 · nettrace
trace the route to a host with per-hop latency (ping TTL method)
nettrace -m 2 127.0.0.1
nettrace in action.089 · portfree
find the first free port in a range
portfree 8000 8010
portfree in action.090 · connlog
log new connections over time (poll /proc/net/tcp) and report new/closed
connlog -i 1 -t 2
connlog in action.091 · dnsleak
check which DNS servers are actually used (resolv.conf plus live tests)
dnsleak
dnsleak in action.092 · netusage
per-interface usage by hour, from snapshot deltas stored in ~/.cache
netusage --snapshot --cache-dir cache
netusage --today --cache-dir cache
netusage in action.093 · sshtest
test SSH connectivity to a host with timing and a banner grab
sshtest 127.0.0.1
sshtest in action.094 · httpcode
fetch a URL and report status, time, size, and redirect chain
httpcode --timeout 4 https://example.com
httpcode in action.095 · certcheck
a site's TLS certificate expiry date and issuer
certcheck example.com
certcheck in action.096 · netblock
which processes have the most sockets open
netblock
netblock in action.097 · multicast
list multicast group memberships
multicast
multicast in action.098 · arpwatch
ARP table entries with MAC, IP, and interface
arpwatch
arpwatch in action.099 · netdown
diagnose network health: gateway, DNS, and internet, with a verdict
netdown
netdown in action.100 · trafficlog
record interface byte counts every minute into a CSV and show daily totals
trafficlog --once --file traffic.csv
trafficlog --today --file traffic.csv
trafficlog in action.Slice E — Disk & storage (25)
101 · diskgraph
ASCII bar chart of disk usage by mount point
diskgraph
diskgraph in action.102 · bigdirs
largest directories in a tree, top-N, with a tree view
bigdirs -n 5 .
bigdirs in action.103 · inodehunt
directories consuming the most inodes (many small files)
inodehunt -n 5 .
inodehunt in action.104 · diskfill
estimate days until a disk fills, from recent growth snapshots
diskfill snapshot --db diskfill.csv /
diskfill --db diskfill.csv
diskfill in action.105 · fscheck
filesystem type, mount options, and free space per mount in one table
fscheck
fscheck in action.106 · trimcheck
whether TRIM is enabled/supported, from /sys, with graceful fallback
trimcheck
trimcheck in action.107 · diskage
files by age on a disk — what is old and big
diskage -n 5 .
diskage in action.108 · mountlist
all mounts with type, size, free space, and ro/rw flag
mountlist
mountlist in action.109 · diskbench
simple write/read speed test on a directory (temp file, cleaned up)
diskbench --size 1 .
diskbench in action.110 · spacereport
full disk-space report: mounts, top directories, top files, growth
spacereport --top 5 .
spacereport in action.111 · cacheclean
clear user caches safely (~/.cache, pip, npm) with sizes reclaimed
cacheclean --home .
cacheclean in action.112 · snapdiff
compare two disk-usage snapshots and show what grew
snapdiff snapshot -o snap1.json .
echo new > newfile.txt
snapdiff snapshot -o snap2.json .
snapdiff diff snap1.json snap2.json
snapdiff in action.113 · filetypes
disk usage by file extension in a tree (which types eat the disk)
filetypes .
filetypes in action.114 · emptybig
find large files that are mostly zeros (sparse files)
emptybig .
emptybig in action.115 · disktemp
disk temperature from SMART if smartctl is present, else /sys, else a clear message
disktemp
disktemp in action.116 · raidcheck
MD RAID status from /proc/mdstat when present
raidcheck
raidcheck in action.117 · diskio
per-device I/O stats from /proc/diskstats with rates
diskio
diskio in action.118 · mountwatch
watch for mount/unmount events by polling /proc/mounts
mountwatch --duration 1 --interval 0.5
mountwatch in action.119 · quota
disk quota usage when set, otherwise free space
quota
quota in action.120 · logrotate
tiny log rotator: compress old logs, keep N generations
logrotate --dry-run --force logs/
logrotate in action.121 · backupcheck
verify a backup tree matches its source by hash, report missing/changed
cp -r src/ backup2/
backupcheck src/ backup2/
backupcheck in action.122 · synccheck
dry-run rsync-style diff between two directories (what would change)
synccheck src/ dst/
synccheck in action.123 · diskalarm
alert when a mount crosses a usage threshold, with a one-line report
diskalarm --threshold 99
diskalarm in action.124 · fatfree
find files larger than X in a tree and suggest moving them
fatfree --min-size 1K .
fatfree in action.125 · treemap
ASCII treemap of disk usage by directory (nested bars)
treemap --depth 2 .
treemap in action.Slice F — Archives, conversion, checksums, metadata (25)
126 · zipls
list zip archive contents with sizes, without extracting
zipls pack.zip
zipls in action.127 · tarpeek
list tar/tar.gz contents with a summary
tarpeek sample.tar.gz
tarpeek in action.128 · archratio
compression ratio of the archives in a directory
archratio .
archratio in action.129 · zipcheck
verify archive integrity and report the broken ones
zipcheck pack.zip
zipcheck in action.130 · archconv
convert an archive between zip and tar.gz, with verification
archconv --to tar.gz pack.zip
archconv in action.131 · hashfile
hash a file with several algorithms at once (md5/sha1/sha256) in one pass
hashfile sample.txt
hashfile in action.132 · hashdir
hash a whole tree and write a manifest
hashdir .
hashdir in action.133 · verifyhash
verify files against a checksum file (sha256sum format)
sha256sum sample.txt a.txt > manifest.txt
verifyhash manifest.txt
verifyhash in action.134 · metaread
file metadata in one view: type, size, times, permissions, xattrs
metaread sample.txt
metaread in action.135 · metacopy
copy timestamps and permissions from one file to another
metacopy a.txt b.txt
metaread b.txt
metacopy in action.136 · touchdate
set a file's mtime to a given date, or copy it from another file
touchdate --date 2020-01-15 b.txt
fileage b.txt
touchdate in action.137 · permfix
normalize permissions (files 644, dirs 755) with a preview and an undo list
permfix .
permfix in action.138 · ownfix
report files in a tree not owned by the current user
ownfix .
ownfix in action.139 · execfix
find scripts without the executable bit, or with it but no shebang
execfix .
execfix in action.140 · csv2json
convert a flat CSV file to JSON
csv2json sample.csv
csv2json in action.141 · json2csv
convert a flat JSON array to CSV
json2csv sample.json
json2csv in action.142 · json2yaml
convert JSON to YAML (small built-in emitter, stdlib only)
json2yaml sample.json
json2yaml in action.143 · xml2json
convert simple XML to JSON
xml2json sample.xml
xml2json in action.144 · base64file
base64 encode/decode files, with a check round-trip
base64file sample.txt encoded.b64
base64file in action.145 · hexfile
hex encode/decode files
hexfile --dump sample.txt
hexfile in action.146 · urlfile
URL-encode/decode a file or a string
urlfile --string "hello world"
urlfile in action.147 · bomfix
detect, strip, or add a BOM in text files
bomfix bom.txt
bomfix in action.148 · charset
detect a file's encoding (UTF-8/16/32, latin-1) with a confidence note
charset sample.txt latin1.txt
charset in action.149 · bin2txt
encode a binary file as text (base64/hex) with a decode header
bin2txt sample.bin encoded.txt
bin2txt in action.150 · txt2bin
decode a bin2txt file back to binary
bin2txt sample.bin encoded.txt
txt2bin encoded.txt decoded.bin
txt2bin in action.Slice G — Termux/Android (25)
151 · txbattery
battery status (termux-battery-status, /sys fallback)
txbattery
txbattery in action.152 · txclip
clipboard get/set (termux-clipboard-get/set)
txclip set hello
txclip in action.153 · txnotify
send an Android notification (termux-notification)
txnotify -t "Backup done" -c "All files copied" --dry-run
txnotify in action.154 · txstorage
storage info (termux-storage, df fallback)
txstorage
txstorage in action.155 · txvibrate
vibrate the device (termux-vibrate)
txvibrate 200 --dry-run
txvibrate in action.156 · txtorch
torch on/off (termux-torch)
txtorch on --dry-run
txtorch in action.157 · txwifi
Wi-Fi connection info (termux-wifi-connectioninfo)
txwifi
txwifi in action.158 · txwallpaper
set the wallpaper from an image (termux-wallpaper)
txwallpaper photo.jpg --dry-run
txwallpaper in action.159 · txcontact
look up a contact by name (termux-contact-list)
txcontact ada
txcontact in action.160 · txsms
list recent SMS messages with a count (termux-sms-list)
txsms -n 3
txsms in action.161 · txcall
list recent calls (termux-call-log)
txcall -n 3
txcall in action.162 · txlocation
current location with a timeout (termux-location)
txlocation --provider gps --timeout 2
txlocation in action.163 · txshare
share a file via the Android share sheet (termux-share)
txshare sample.txt --dry-run
txshare in action.164 · txopen
open a file with its default app (termux-open)
txopen sample.txt --dry-run
txopen in action.165 · txsensors
list sensors and their current values (termux-sensor)
txsensors -l
txsensors in action.166 · txscan
trigger a media scan of a file or directory (termux-media-scan)
txscan sample.txt --dry-run
txscan in action.167 · txbrightness
set screen brightness (termux-brightness)
txbrightness 50% --dry-run
txbrightness in action.168 · txvolume
show and set volume levels (termux-volume)
txvolume music
txvolume in action.169 · txtts
speak text out loud (termux-tts-speak)
txtts --dry-run Hello world
txtts in action.170 · txdialog
show a dialog and return the choice (termux-dialog)
txdialog confirm -t "Delete file?" --dry-run
txdialog in action.171 · txwake
acquire/release a wake lock (termux-wake-lock/unlock)
txwake status --dry-run
txwake in action.172 · txusb
list USB devices (termux-usb-list)
txusb
txusb in action.173 · txtelephony
telephony and device info (termux-telephony-deviceinfo)
txtelephony
txtelephony in action.174 · txdownload
download a file into Downloads (termux-download)
txdownload --dry-run https://example.com/file.zip
txdownload in action.175 · txtermux
Termux environment report: version, storage, API availability, health check
txtermux
txtermux in action.Slice H — Time, dates, units, converters, generators (25)
176 · datecalc
date arithmetic: add/subtract days, difference between dates, weekday
datecalc 2026-01-01 --add 10
datecalc in action.177 · epoch
convert between epoch seconds and human dates, both ways
epoch 1700000000
epoch in action.178 · countdown
countdown to a date with a live display
countdown 90s --once
countdown in action.179 · stopwatch
terminal stopwatch with laps
stopwatch --duration 1
stopwatch in action.180 · pomodoro
pomodoro timer with work/break cycles and a session log
pomodoro --work 0.02 --break 0 --cycles 1 --no-log
pomodoro in action.181 · unitconv
convert units (length, weight, temperature, data) with a table
unitconv 5 km mi
unitconv in action.182 · dataconv
convert data sizes (B/KB/MB/GB, bits/bytes, MiB vs MB)
dataconv 1 GiB --to MB
dataconv in action.183 · tempconv
temperature converter (C/F/K) with a conversion table
tempconv 100 C --to F
tempconv in action.184 · passgen
generate passwords (length, symbols, word mode)
passgen --length 12 --seed 1
passgen in action.185 · dice
roll dice with notation (3d6+2) and a roll history
dice 3d6+2 --seed 7
dice in action.186 · randpick
pick a random item from a list or a file
randpick apple banana cherry --seed 1
randpick in action.187 · randnum
random numbers in a range, with an optional seed
randnum 1 10 --seed 1
randnum in action.188 · uuidgen
generate UUIDs (v4) and short ids
uuidgen --count 2
uuidgen in action.189 · colorpick
pick and convert colors (hex/rgb/hsl) and show a terminal swatch
colorpick '#ff8800' --no-swatch
colorpick in action.190 · morse
text to Morse code and back
morse SOS
morse in action.191 · braille
text to Braille unicode and back
braille hello
braille in action.192 · baseconv
convert numbers between bases (2/8/10/16/36)
baseconv 255 16
baseconv in action.193 · romannum
convert to and from Roman numerals
romannum 2026
romannum in action.194 · timesheet
log time spent on tasks, with a daily summary
timesheet --file ./ts.csv start demo
timesheet --file ./ts.csv stop
timesheet --file ./ts.csv summary
timesheet in action.195 · agecalc
age from a birthdate: years, days lived, next birthday
agecalc 1990-05-15
agecalc in action.196 · workdays
count working days between two dates (weekends excluded)
workdays 2026-01-01 2026-01-31
workdays in action.197 · tzconv
convert a time between time zones (built-in zone table, system tzdata when present)
tzconv 14:30 UTC America/New_York
tzconv in action.198 · speedconv
speed converter (km/h, mph, m/s, knots)
speedconv 100 --to mph
speedconv in action.199 · currconv
currency converter with an editable offline rate file
currconv 10 USD EUR
currconv in action.200 · quote
quote of the day (built-in list, deterministic by date)
quote --number 1
quote in action.Slice I — Dev & shell helpers (25)
201 · gitstat
one-page git repo summary: branch, status counts, recent commits, stashes
gitstat .
gitstat in action.202 · gitclean
find and remove stale git branches (merged, or with no upstream) with a preview
gitclean .
gitclean in action.203 · gitlog
pretty log with a graph and per-commit file stats, filtered by author/date
gitlog -n 3 .
gitlog in action.204 · cronlist
list cron jobs with a human-readable explanation of each schedule
cronlist --file crontab.txt
cronlist in action.205 · croncheck
validate a cron expression and show the next run times
croncheck "0 9 * * 1-5"
croncheck in action.206 · sshkeys
list SSH keys, their fingerprints, and which are loaded in the agent
sshkeys --dir sshdir
sshkeys in action.207 · sshhost
known-hosts report with fingerprints
sshhost --file ssh_known_hosts
sshhost in action.208 · tmuxls
tmux/screen sessions with a summary, graceful fallback when absent
tmuxls
tmuxls in action.209 · tmuxsave
save and restore a tmux session layout (best effort)
tmuxsave list
tmuxsave in action.210 · pkglist
list installed packages (apt/dpkg or pacman) with sizes, top-N
pkglist --top 5
pkglist in action.211 · pkgsearch
search installed packages by name or description
pkgsearch --limit 5 bash
pkgsearch in action.212 · envdiff
compare environment variables between two shells, or a file and the current env
envdiff env1.env env2.env
envdiff in action.213 · pathclean
show PATH entries, flag duplicates and missing directories, print a cleaned PATH
pathclean --path /usr/bin:/bin:/usr/bin
pathclean in action.214 · aliaslist
list shell aliases and functions with their definitions
aliaslist --file aliases.sh
aliaslist in action.215 · histstat
shell history statistics: most-used commands, usage by hour
histstat -f history.txt
histstat in action.216 · scriptcheck
syntax-check all shell scripts in a directory (bash -n) and report
scriptcheck .
scriptcheck in action.217 · pycheck
syntax-check Python files (py_compile) and report
pycheck .
pycheck in action.218 · todo
find TODO/FIXME/XXX comments in a tree, with counts by file
todo .
todo in action.219 · codelines
count code lines by language in a tree
codelines .
codelines in action.220 · gitdiffstat
diff stats between two refs with a per-file table
gitdiffstat HEAD~1 HEAD .
gitdiffstat in action.221 · branchage
age of git branches, sorted, with last commit
branchage .
branchage in action.222 · stashlist
list stashes with a summary of their contents
stashlist .
stashlist in action.223 · repocheck
health check for a git repo: uncommitted, untracked, ahead/behind, large files
repocheck .
repocheck in action.224 · maketool
scaffold a new utility: template file plus a test stub
maketool --dir . demotool
maketool in action.225 · benchcmd
benchmark a command's runtime over N runs (average, min, max)
benchcmd -n 2 echo hi
benchcmd in action.Slice J — Fun, creative, novel concepts (25)
226 · banner
ASCII banner text with several built-in fonts (no figlet dependency)
banner hello
banner in action.227 · fortune
random fortune with categories (built-in list)
fortune --seed 1
fortune in action.228 · motd
generate a message of the day from live system stats plus a quote
motd
motd in action.229 · typing
typing speed test in the terminal
typing --auto --seed 1
typing in action.230 · quiz
tiny quiz game with built-in questions and a score
quiz -n 2 --auto --seed 1
quiz in action.231 · hangman
hangman game in the terminal
hangman --auto --word test
hangman in action.232 · memory
memory matching game in the terminal
memory --auto --seed 1
memory in action.233 · maze
generate a random ASCII maze
maze -w 10 -H 5 --seed 1
maze in action.234 · life
Conway's Game of Life in the terminal for a few generations
life -g 3 --pattern glider --delay 0
life in action.235 · starfield
short animated starfield (frame-limited, so it always exits)
starfield --frames 2 --seed 1 --delay 0
starfield in action.236 · clock
big ASCII clock, live, with a duration limit
clock --duration 1 --no-clear
clock in action.237 · calendar
month calendar with today highlighted and events read from a file
calendar --month 1 --year 2026
calendar in action.238 · moonphase
moon phase calculator from the date (algorithmic, no network)
moonphase --date 2026-01-01
moonphase in action.239 · sunrise
sunrise/sunset calculator for a given latitude/longitude (algorithmic)
sunrise --lat 21.3 --lon -157.8 --date 2026-01-01
sunrise in action.240 · passphrase
generate a passphrase from a built-in wordlist
passphrase --seed 1
passphrase in action.241 · anagram
find anagrams of a word from a built-in wordlist
anagram listen
anagram in action.242 · palindrome
check palindromes and find the longest palindromic substring
palindrome racecar
palindrome in action.243 · lorem
generate lorem ipsum text (N paragraphs)
lorem -p 1 --seed 1
lorem in action.244 · fakeuser
generate a fake user profile (name, email, address) for testing
fakeuser --seed 1
fakeuser in action.245 · fakelog
generate fake log lines for testing log tools
fakelog -n 3 --seed 1
fakelog in action.246 · fakedata
generate fake CSV data (names, ages, cities) for testing
fakedata -n 3 --seed 1
fakedata in action.247 · timer
simple countdown timer with a message at the end
timer --seconds 2 --message done --quiet
timer in action.248 · alarm
set an alarm (sleep, then a beep and a message)
alarm --in 1s --message test --quiet
alarm in action.249 · focus
focus session tracker: start/stop, log, daily total
focus start demo
focus status
focus stop
focus today
focus in action.250 · namegen
generate creative names for projects, pets, or bands from combinable word lists
namegen --kind pet --count 3 --seed 1
namegen in action.Slice K — More monitors: temperature, CPU & memory (25)
251 · tempgraph
live CPU temperature sparkline over time
tempgraph --mock --count 3 --interval 0.2
tempgraph in action.252 · coretemp
per-core temperature table with mini sparklines
coretemp --mock --count 3 --interval 0.2
coretemp in action.253 · gputemp
GPU temperature graph
gputemp --mock --count 3 --interval 0.2
gputemp in action.254 · temphist
log temperatures and render history as an ASCII graph
temphist --mock --samples 3 --log ./temphist.log
temphist graph --log ./temphist.log
temphist in action.255 · tempzones
all thermal zones side-by-side with sparklines
tempzones --mock --count 3 --interval 0.2
tempzones in action.256 · tempdelta
temperature rate of change in degC/min per zone
tempdelta --mock
tempdelta in action.257 · tempalarm
alert when any temperature crosses a threshold
tempalarm --mock
tempalarm in action.258 · tempfan
temperature vs fan speed correlation plot
tempfan --mock --count 3 --interval 0.2
tempfan in action.259 · tempthrottle
detect thermal throttling from MHz drop + temperature
tempthrottle --mock
tempthrottle in action.260 · tempdiff
temperature before vs after running a command
tempdiff --mock -- true
tempdiff in action.261 · tempmax
session high-water marks: max temperature per zone
tempmax --mock --count 3 --interval 0.2
tempmax in action.262 · tempslope
predict minutes to throttle from the current heating slope
tempslope --mock --count 3 --interval 0.2
tempslope in action.263 · corebars
per-core CPU usage bars, live, one line per core
corebars --count 2 --interval 0.2
corebars in action.264 · cpushare
CPU time split user/system/iowait/idle as stacked bars
cpushare --count 2 --interval 0.2
cpushare in action.265 · cpusteal
steal time monitor for VMs with history graph
cpusteal --count 2 --interval 0.2
cpusteal in action.266 · irqtop
top interrupt consumers from /proc/interrupts and /proc/stat
irqtop --top 3 --count 2 --interval 0.2
irqtop in action.267 · ctxwatch
context switch rate monitor
ctxwatch --count 2 --interval 0.2
ctxwatch in action.268 · cpuidle
per-core idle and C-state time monitor
cpuidle --count 2 --interval 0.2
cpuidle in action.269 · runq
run queue length history graph
runq --count 2 --interval 0.2
runq in action.270 · cpuburst
detect CPU bursts and log them with process attribution
cpuburst --count 2 --interval 0.2
cpuburst in action.271 · memleak
watch a process RSS growth over time and flag leaks
memleak 1 --seconds 1 --interval 0.2
memleak in action.272 · swaphist
swap in/out history graph
swaphist --count 2 --interval 0.2
swaphist in action.273 · slabwatch
slab allocator top consumers
slabwatch --top 3
slabwatch in action.274 · pagereclaim
page reclaim and major fault rate monitor
pagereclaim --count 2 --interval 0.2
pagereclaim in action.275 · psigraph
PSI (pressure stall information) graphs for CPU/memory/IO
psigraph --count 2 --interval 0.2
psigraph in action.Slice L — More monitors: disk, network & process (25)
276 · hugewatch
huge page usage monitor
hugewatch
hugewatch in action.277 · cachehit
page cache hit ratio estimate monitor
cachehit --count 2 --interval 0.2
cachehit in action.278 · iolat
per-disk IO latency histogram from /proc/diskstats deltas
iolat --count 2 --interval 0.2
iolat in action.279 · iodepth
IO queue depth monitor
iodepth --count 2 --interval 0.2
iodepth in action.280 · diskrate
per-disk read/write rate bars, live
diskrate --count 2 --interval 0.2
diskrate in action.281 · fswatch
filesystem write volume per mount point
fswatch --count 2 --interval 0.2
fswatch in action.282 · ioproc
top processes by IO with live delta rates
ioproc --top 3 --count 2 --interval 0.2
ioproc in action.283 · diskbusy
disk busy percentage per device graph
diskbusy --count 2 --interval 0.2
diskbusy in action.284 · trimwatch
TRIM/discard activity monitor from /proc/diskstats
trimwatch --count 2 --interval 0.2
trimwatch in action.285 · netlat
latency to multiple hosts graphed over time
netlat 127.0.0.1 --count 2 --interval 0.2
netlat in action.286 · neterr
interface error and drop counter monitor
neterr --count 2 --interval 0.2
neterr in action.287 · socktop
top sockets by state (ESTABLISHED/TIME_WAIT counts)
socktop --top 3 --count 2 --interval 0.2
socktop in action.288 · portflow
per-port traffic rates (which local port is busy)
portflow --top 3 --count 2 --interval 0.2
portflow in action.289 · dnswatch
DNS query latency monitor with graph
dnswatch --count 2 --interval 0.2
dnswatch in action.290 · netqueue
interface queue/backlog monitor (drops, qdisc)
netqueue --count 2 --interval 0.2
netqueue in action.291 · wifigraph
WiFi signal strength graph over time
wifigraph --mock --count 3 --interval 0.2
wifigraph in action.292 · netretrans
TCP retransmit rate monitor
netretrans --count 2 --interval 0.2
netretrans in action.293 · procmem
top processes by memory with tree grouping
procmem --top 3
procmem in action.294 · proccpu
top processes by CPU with per-PID history sparklines
proccpu --top 3 --count 2 --interval 0.2
proccpu in action.295 · procage
longest-running processes with age and start time
procage --top 3
procage in action.296 · procstate
process counts by state (R/S/D/Z/T) graphed over time
procstate --count 2 --interval 0.2
procstate in action.297 · procfork
fork rate monitor (new processes per second)
procfork --count 2 --interval 0.2
procfork in action.298 · procrestart
detect processes that restart frequently
procrestart --mock --count 2 --interval 0.2
procrestart in action.299 · gpuload
GPU utilization and memory graph
gpuload --mock --count 3 --interval 0.2
gpuload in action.300 · gpuproc
top processes by GPU memory
gpuproc --mock --top 3
gpuproc in action.Slice M — More monitors: GPU, power & system (10)
301 · gpupower
GPU power draw graph
gpupower --mock --count 3 --interval 0.2
gpupower in action.302 · batgraph
battery charge/discharge graph over time
batgraph --mock --count 3 --interval 0.2
batgraph in action.303 · wattwatch
power draw estimate in watts
wattwatch --mock --count 3 --interval 0.2
wattwatch in action.304 · suspendwatch
suspend/resume event log monitor
suspendwatch --mock
suspendwatch in action.305 · loadspike
detect load spikes, log top processes at the moment
loadspike --mock --threshold 2 --seconds 2 --interval 0.2
loadspike in action.306 · bootchart
boot time breakdown from dmesg/systemd timestamps
bootchart
bootchart in action.307 · kerneltop
top kernel threads by CPU
kerneltop
kerneltop in action.308 · fdgraph
open file descriptor count history graph per process
fdgraph --mock --count 3 --interval 0.2
fdgraph in action.309 · lockwatch
detect processes stuck in uninterruptible sleep (D-state)
lockwatch
lockwatch in action.310 · sysdash
combined mini-dashboard: CPU, memory, disk, net, temp
sysdash
sysdash in action.Go get it
One clone, one make, 310 tools — including 110 monitors (system, network, temperature, CPU, memory, disk, process, GPU, power and more) that turn a phone or a spare box into a proper observability station. The repo is the documentation: every utility has a description, a worked example and a screenshot, and the test suite proves each one runs. Start here:
And if you like the idea of files that repair themselves, this blog's home project is worth a look too:
util_box is at github.com/cnmcdee/util_box (master 9687244 at time of writing). Screenshots in this article are served from the repo itself.