Files
scripts/common.v1.sh
T
2026-09-29 15:24:09 -04:00

13 lines
252 B
Bash
Executable File

#!/usr/bin/env bash
# Inform the user of the output they can expect.
echo "common commands:"
# Show the most commonly used commands
tail ~/.bash_history -n 1000 \
| sort \
| uniq -c \
| sed 's/^ *//' \
| sort -n -r \
| head -n 10