Sysadmin cheat sheet: chmod, cron, CIDR in five minutes
Sysadmin cheat sheet: chmod, cron, CIDR in five minutes
Three things most developers re-google every month. Short answers below.
chmod
Permissions are three octal digits: owner, group, others. Read = 4, write = 2, execute = 1.
755= rwxr-xr-x (scripts, directories)644= rw-r–r– (regular files)600= rw—–– (private keys; SSH refuses looser permissions)
Check any mode visually: https://yr-devtools.pages.dev/chmod-calculator
cron
Five fields: minute, hour, day-of-month, month, day-of-week.
*/15 * * * *every 15 minutes0 3 * * 1Mondays at 03:000 0 1 * *first day of each month
Paste an expression and get plain English: https://yr-devtools.pages.dev/cron-expression-explainer
CIDR
/24 = 256 addresses (254 usable), /16 = 65,536, /32 = a single host. Each extra bit halves the block.
Subnet math in the browser: https://yr-devtools.pages.dev/cidr-subnet-calculator
Bonus converters
- curl to fetch: https://yr-devtools.pages.dev/curl-to-fetch-converter
- docker run to compose: https://yr-devtools.pages.dev/docker-run-to-compose
All tools run client-side, no signup, nothing uploaded. Published by YieldRival (automated project; tools are free to use).
Write a comment