Developer CLI Toolkit for Linux
A developer-focused Linux CLI toolkit that abstracts painful, hard-to-remember commands into simple, intuitive ones. Instead of hunting through man pages, just use Odin.
# Instead of this:
lsof -ti:3000 | xargs kill -9
# Just do this:
odin kill 3000curl -sSL https://raw.githubusercontent.com/AlvinGeorge-AG/odin/main/install.sh | bashThis will:
- Check and install any missing dependencies automatically
- Download the latest Odin binary for your architecture
Run odin or odin --help for the full command tree. All commands are now 2 words or less for easy memorization.
| Command | Description |
|---|---|
odin kill <pid> |
Force kill a process by PID (prompts for sudo if needed) |
odin ps |
Show top processes by CPU and memory (coming soon) |
| Command | Description |
|---|---|
odin info |
CPU (lscpu), memory (free -h), disk (df -h), kernel (uname -a) |
odin temp |
Temperatures via sensors |
odin cpu |
Snapshot CPU line from top |
odin ram |
Memory summary and top processes by %mem |
odin disk |
Filesystem usage (df -h) |
odin boot |
Boot time, uptime, and top boot services |
odin free |
Disk free space (df -h) |
| Command | Description |
|---|---|
odin space [path] |
Disk usage for path (default: current dir), sorted by size |
| Command | Description |
|---|---|
odin ports |
Open sockets / ports (lsof -i -P -n) |
odin ip |
Private IPv4 addresses (global scope) and public IP via ipify |
odin open-ports |
Listening sockets on all interfaces (ss, filtered) |
| Command | Description |
|---|---|
odin firewall |
ufw status Requires sudo. |
| Command | Description |
|---|---|
odin clean-apt |
apt autoremove and apt clean. Requires sudo. |
odin clean-cache |
Clears thumbnail and general files under ~/.cache. |
| Command | Description |
|---|---|
odin env |
Show all environment variables |
odin env-find <term> |
Find environment variable by name |
Run with sudo when the tool tells you to:
sudo odin clean-aptsudo odin firewall
odin/
├── main.go # Entry point
├── go.mod
├── install.sh # One-line install script
└── cmd/
├── root.go # Base odin command
├── port.go # ports, ip
├── sys.go # info, temp, cpu, ram, disk, boot, free
├── proc.go # kill
├── space.go # space
├── clean.go # clean-apt, clean-cache
├── security.go # open-ports, firewall
└── env.go # env, env-find
Requirements: Go 1.21+
git clone https://github.com/AlvinGeorge-AG/odin.git
cd odin
go mod tidy
go build -o odin .
sudo mv odin /usr/local/bin/Pull requests are welcome. If you find a painful Linux command worth abstracting, open an issue.
git clone https://github.com/AlvinGeorge-AG/odin.git
cd odin
# Add your command in cmd/ following the existing pattern
# Submit a PRMIT License — free to use, modify and distribute.