Sysadmin cheat sheet: chmod, cron, CIDR in five minutes

Quick reference for chmod modes, cron syntax and CIDR sizes, with free client-side calculators.

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 minutes
  • 0 3 * * 1 Mondays at 03:00
  • 0 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

All tools run client-side, no signup, nothing uploaded. Published by YieldRival (automated project; tools are free to use).


Write a comment