An interactive terminal utility for quick command reference.
π Choose your language / ΠΡΠ±Π΅ΡΠΈΡΠ΅ ΡΠ·ΡΠΊ
Language | Documentation |
---|---|
πΊπΈ English | README.md (current) |
π·πΊ Π ΡΡΡΠΊΠΈΠΉ | docs/ru/README.md |
Call cheat <topic>
to display a concise and useful cheat sheet for commands (bash, git, docker, vim, systemctl, etc.).
cheat <topic>
β shows a text cheat sheet by key- Comprehensive topic support:
cheat git
,cheat bash
,cheat docker
,cheat systemctl
,cheat tmux
,cheat htop
,cheat curl
,cheat ssh
,cheat find
- Colorful output (headers, commands, descriptions)
- Autocompletion or list all topics:
cheat list
- Advanced search functionality:
cheat search <query>
with grouped results by topic - Multi-language support (en/ru) with JSON-based translations
- Theme support (light/dark)
- Language switching:
cheat lang <language>
- Template-based system with placeholder substitution
- Optimized performance with efficient translation lookup
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
bash | β | β | β | β | β |
systemctl | β | β | β | β | β |
cron | β | β | β | β | β |
htop | β | β | β | β | β |
tmux | β | β | β | β | β |
ps | β | β | β | β | β |
kill | π | π | β | β | β |
top | π | π | β | β | β |
iotop | π | π | β | β | β |
useradd | π | π | β | β | β |
sudo | π | π | β | β | β |
mount | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
curl | β | β | β | β | β |
ssh | β | β | β | β | β |
netstat | β | β | β | β | β |
nmap | β | β | β | β | β |
lsof | β | β | β | β | β |
ping | π | π | β | β | β |
traceroute | π | π | β | β | β |
dig | π | π | β | β | β |
wget | π | π | β | β | β |
rsync | π | π | β | β | β |
nc | π | π | β | β | β |
iftop | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
ufw | β | β | β | β | β |
iptables | β | β | β | β | β |
fail2ban | π | π | β | β | β |
openssl | π | π | β | β | β |
gpg | π | π | β | β | β |
ssh-keygen | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
vim | β | β | β | β | β |
sed | β | β | β | β | β |
awk | β | β | β | β | β |
grep | π | π | β | β | β |
cut | π | π | β | β | β |
sort | π | π | β | β | β |
wc | π | π | β | β | β |
jq | π | π | β | β | β |
nano | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
find | β | β | β | β | β |
ls | π | π | β | β | β |
cp | π | π | β | β | β |
chmod | π | π | β | β | β |
du | π | π | β | β | β |
locate | π | π | β | β | β |
ripgrep | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
tar | β | β | β | β | β |
zip | π | π | β | β | β |
gzip | π | π | β | β | β |
bzip2 | π | π | β | β | β |
xz | π | π | β | β | β |
zstd | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
docker | β | β | β | β | β |
docker-compose | π | π | β | β | β |
kubectl | π | π | β | β | β |
podman | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
git | β | β | β | β | β |
make | π | π | β | β | β |
cmake | π | π | β | β | β |
gcc | π | π | β | β | β |
gdb | π | π | β | β | β |
valgrind | π | π | β | β | β |
Utility | πΊπΈ English | π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π©πͺ Deutsch | π«π· FranΓ§ais | πͺπΈ EspaΓ±ol |
---|---|---|---|---|---|
package-managers | β | β | β | β | β |
apt | π | π | β | β | β |
yum | π | π | β | β | β |
dnf | π | π | β | β | β |
pacman | π | π | β | β | β |
snap | π | π | β | β | β |
flatpak | π | π | β | β | β |
Legend:
- β Available - Complete cheat sheet with translations
- β Not available - Cheat sheet or translations missing
- π In progress - Currently being developed
cli-cheatsheet/
βββ cheat.sh # Main script
βββ config.json # Configuration
βββ localizations/ # Translation files by language
β βββ en/ # English translations
β β βββ bash.json # Bash translations
β β βββ git.json # Git translations
β β βββ docker.json # Docker translations
β β βββ vim.json # Vim translations
β β βββ systemctl.json # Systemctl translations
β β βββ tmux.json # Tmux translations
β β βββ htop.json # Htop translations
β β βββ curl.json # Curl translations
β β βββ ssh.json # SSH translations
β β βββ find.json # Find translations
β β βββ tar.json # Tar translations
β β βββ awk.json # AWK translations
β βββ ru/ # Russian translations
β βββ bash.json # Bash translations
β βββ git.json # Git translations
β βββ docker.json # Docker translations
β βββ vim.json # Vim translations
β βββ systemctl.json # Systemctl translations
β βββ tmux.json # Tmux translations
β βββ htop.json # Htop translations
β βββ curl.json # Curl translations
β βββ ssh.json # SSH translations
β βββ find.json # Find translations
β βββ tar.json # Tar translations
β βββ awk.json # AWK translations
β βββ ps.json # PS translations
βββ templates/ # Cheat sheet templates
β βββ bash.txt # Bash template
β βββ git.txt # Git template
β βββ docker.txt # Docker template
β βββ vim.txt # Vim template
β βββ systemctl.txt # Systemctl template
β βββ tmux.txt # Tmux template
β βββ htop.txt # Htop template
β βββ curl.txt # Curl template
β βββ ssh.txt # SSH template
β βββ find.txt # Find template
β βββ tar.txt # Tar template
β βββ awk.txt # AWK template
β βββ ps.txt # PS template
βββ docs/ # Documentation
βββ ru/ # Russian documentation
βββ README.md # Russian README
git clone https://github.com/mrvi0/cli-cheatsheet.git
cd cli-cheatsheet
sudo ln -s "$(pwd)/cheat.sh" /usr/local/bin/cheat
After installation, you can use cheat
command from anywhere in your system!
git clone https://github.com/mrvi0/cli-cheatsheet.git
cd cli-cheatsheet
chmod +x cheat.sh
./cheat.sh <topic>
$ cheat git
# Git Cheat Sheet
$ git status
> Show the working tree status
$ git add .
> Add all changes to staging
$ git commit -m "message"
> Commit changes with a message
$ git log
> Show commit logs
$ cheat list
Available topics:
- awk
- bash
- cron
- curl
- docker
- find
- git
- htop
- ps
- sed
- ssh
- systemctl
- tar
- tmux
- vim
$ cheat search commit
Searching for: commit
---
git:
$ git commit -m "message"
> Commit changes with a message
$ cheat search find
Searching for: find
---
find:
$ find . -name "filename"
> Find files by exact name
$ find . -type f -name "*.txt"
> Find text files
$ cheat lang ru
Language changed to: ru
$ cheat git
# Git Π¨ΠΏΠ°ΡΠ³Π°Π»ΠΊΠ°
$ git status
> ΠΠΎΠΊΠ°Π·Π°ΡΡ ΡΡΠ°ΡΡΡ ΡΠ°Π±ΠΎΡΠ΅ΠΉ Π΄ΠΈΡΠ΅ΠΊΡΠΎΡΠΈΠΈ
$ cheat update
Updating cli-cheatsheet...
Current branch: main
Fetching latest changes...
Found 3 new commit(s)
Pulling latest changes...
Successfully updated cli-cheatsheet!
$ cheat help
cli-cheatsheet - Interactive terminal utility
Usage:
cheat <topic> Show cheat sheet for topic
cheat list List all available topics
cheat search <query> Search in all cheat sheets
cheat lang <language> Change language (en/ru)
cheat update Update to latest version
cheat help Show this help
Examples:
cheat git Show git cheat sheet
cheat bash Show bash cheat sheet
cheat ps Show ps cheat sheet
cheat search commit Search for 'commit' in all sheets
cheat lang ru Change language to Russian
cheat lang en Change language to English
cheat update Update to latest version
cheat lang ru # Switch to Russian
cheat lang en # Switch to English
Edit config.json
:
{
"lang": "ru",
"theme": "dark"
}
- Create directory:
localizations/your_lang/
- Create translation files for each utility:
localizations/your_lang/utility.json
- Add translations with keys matching templates
- Use
cheat lang your_lang
to switch
- Headers (
#
) - Cyan bold - Commands (
$
) - Green - Descriptions (
>
) - Yellow - Errors - Red
- Search results - Magenta
Create a new file templates/your_topic.txt
:
# {your_topic_title}
$ command example
> {command_description}
$ another command
> {another_description}
Then add translations to localizations/en.json
and localizations/ru.json
:
{
"your_topic_title": "Your Topic Cheat Sheet",
"command_description": "Description of what this command does",
"another_description": "Another description"
}
- Use
{key_name}
placeholders for translations - Commands start with
$
- Descriptions start with
>
- Headers start with
#
- Add empty lines between commands for better readability
- English Documentation (current)
- Russian Documentation
- Changelog - Complete version history
We welcome contributions! Please see CONTRIBUTING.md for detailed guidelines on how to contribute to this project.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the need for quick command reference
- Built with pure bash for maximum compatibility
- Color support for better readability
Thanks to all contributors! π Want to see yourself here? Make a PR!
Vi π» π π€ |
||||||
|
This list is updated automatically using all-contributors after each merged PR.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!