chmod 755
- Input
- 111101101₂
- Expected output
- 0o755
rwxr-xr-x Unix permission.
binary to octal
Each octal digit equals exactly 3 binary bits: 111₂ = 7₈. Unix permissions (chmod 755) use octal.
rwxr-xr-x Unix permission.
rw-r--r-- — default for files.
Converting a number between bases means representing the same value using a different set of digits. A decimal (base 10) number can be expressed exactly in binary (base 2), hexadecimal (base 16), or any other base.
Octal is preferred in Unix contexts (permissions, syscalls). Hex is the standard for memory, colors, and network protocols.
No. It helps explain the scenario and use the tool more safely, but real decisions should consider official sources, full context and qualified guidance when needed.
All data stays in your browser. No numbers are sent to any server.