linux-permissions-calculator
v1.0.0
Published
Interactive Linux file permissions calculator in your terminal. Convert between octal and symbolic notation, calculate umask, understand SUID/SGID/sticky bit.
Maintainers
Readme
🔐 Linux Permissions Calculator
Interactive Linux file permissions calculator right in your terminal. Convert between octal and symbolic notation, calculate umask, understand SUID/SGID/sticky bit.
Quick Start
npx linux-permissions-calculatorDirect mode:
npx linux-permissions-calculator 755
npx linux-permissions-calculator rwxr-xr-xFeatures
- 🔄 Octal ↔ Symbolic conversion (755 → rwxr-xr-x and back)
- 🎯 Interactive builder — answer yes/no for each permission
- 📊 Umask calculator — see what file/directory permissions umask produces
- 📖 Common permissions reference — quick lookup for 644, 755, 600, etc.
- 🔒 Special bits — SUID, SGID, Sticky bit explained with examples
- ⚡ Direct mode —
npx linux-permissions-calculator 755for instant answers - 🚀 Zero dependencies
Modes
| Mode | Description | |------|-------------| | Octal → Symbolic | Enter 755, get rwxr-xr-x with breakdown | | Symbolic → Octal | Enter rwxr-xr-x, get 755 | | Interactive Builder | Answer y/n for read/write/execute per entity | | Umask Calculator | See resulting permissions for any umask value | | Reference Table | Common permissions with use cases | | Special Bits | SUID/SGID/Sticky explained |
More Tools
- 🐧
npx dargslan-linux-quiz— Linux Quiz - 📝
npx dargslan-bash-quiz— Bash Scripting Quiz - ⏰
npx cron-generator-cli— Cron Expression Generator - 🔑
npx ssh-config-generator— SSH Config Builder - 🛡️
npx server-hardening-checklist— Security Audit
Learn More
License
MIT — dargslan.com
