techcommune@linux:~$
ipcalc 192.168.1.0/24

πŸ› οΈ Tools

Small, useful things I got tired of Googling. Subnet maths, cron schedules, file permissions, your public IP, timestamps, Base64, a port reference and printable cheat sheets, all in one place and all running right here in your browser.

Jump to a tool:

Subnet Calculator Cron Generator What's My IP? chmod Calculator Timestamp Converter Base64 Encoder / Decoder Port Reference Cheat Sheets: chmod, umask, CIDR
There are 10 types of people in the world:
Those who understand binary, and those who don't.

🌐 Subnet Calculator

Type an IPv4 or IPv6 network in CIDR form (like 192.168.1.0/24). You get the netmask, the address range, how many hosts fit, and a binary view. You can also split it into smaller subnets, or check whether an address belongs to it.

⏰ Cron Expression Generator

Build a crontab schedule from plain choices, or paste one you found and see what it really does. You get an English explanation, the next run times, and a ready-to-paste crontab line.

30 2 * * *

Cron: the only tool that lets you be late for something you scheduled yourself.
0 0 * * * β€” midnight, when all the best outages start.

πŸ•΅οΈ What's My IP?

Shows the public IP address this website sees when you connect. That is the address the rest of the internet sees too.

Checking…

πŸ” chmod Calculator

Tick the permissions you want and get the octal number, the ls -l string and the chmod command. Or type a number (like 640) or a string (like rw-r-----) and watch the boxes change.

Read (4)Write (2)Execute (1) Owner Group Others

chmod 755 filename

umask: what new files start with

Unix time: counting the seconds since 1970 so you don't have to.
The 2038 problem: a future problem for a future you.

πŸ•°οΈ Timestamp Converter

Turn a Unix timestamp (seconds, milliseconds, microseconds or nanoseconds) into a readable date, or a date into a timestamp. Paste a log line's number and see what time it really was.

Date to timestamp

πŸ”€ Base64 Encoder / Decoder

Encode text or a file to Base64, or decode Base64 back to text or a file. It handles the URL-safe variant (used in JWTs and URLs) and Unicode text. Files never leave your browser.

Base64 isn't encryption. It's a disguise.
Same data, slightly larger costume.
There are 65,535 ports on your machine, plus port 0, which is not invited.
And the one you need is always the one the firewall blocked.

πŸ”Œ Port Reference

Look up what usually runs on a port, or which port a service uses. Search by number (443), name (ssh), a range (8000-8100) or a word (mail, redis, kubernetes). Click a port number for commands to check it on your own machine.

πŸ”’ Encrypted πŸ”“ Clear text 🚫 Keep off the internet β›” Avoid "IANA" means the official registry lists this port for this service. "Convention" means people just use it that way.

The three port ranges

0 to 1023
System (well-known) ports. On Linux only root, or a program with CAP_NET_BIND_SERVICE, can listen here (see net.ipv4.ip_unprivileged_port_start).
1024 to 49151
Registered ports. Software vendors ask IANA to reserve a number, and anyone can listen here.
49152 to 65535
Dynamic (private) ports, never assigned. Windows uses them for outgoing connections. Linux uses 32768 to 60999 by default: check with cat /proc/sys/net/ipv4/ip_local_port_range.

umask is the only command where a bigger number means fewer permissions.
chmod is where a bigger number means bigger trouble.

πŸ“‹ Cheat Sheets: chmod, umask and CIDR

Quick-reference tables for the three things everyone forgets. Pick a sheet, or print all three (each starts on its own page).

chmod: permissions

Each octal digit is a sum: read 4 + write 2 + execute 1. Three digits are for the owner, the group and everyone else. So 754 is owner 7 (rwx), group 5 (r-x), others 4 (r--).

What r, w and x mean

BitOn a fileOn a directory
r (4)Read the contentsList the names inside (ls)
w (2)Change the contentsCreate, delete and rename entries inside (needs x as well)
x (1)Run it as a program or scriptEnter it (cd) and reach things inside by name

To delete a file you need write and execute on its directory. The file's own permissions do not matter (unless the directory has the sticky bit).

Common modes (click one to load it into the chmod calculator above)

Special bits

BitOctalSymbolicOn a fileOn a directory
setuid4000u+sRuns with the owner's privileges (ignored on scripts)No effect on Linux
setgid2000g+sRuns with the group's privilegesNew files inherit the directory's group
sticky1000+tIgnored on LinuxOnly a file's owner (or root) can delete or rename inside it, like /tmp

Symbolic syntax: chmod [who][operator][permissions]

PartValues
Whou owner   g group   o others   a all. Leave it out and you get "all", filtered by your umask.
Operator+ add   - remove   = set exactly
Permissionsr w x   X execute only for directories and files that already have it   s setuid/setgid   t sticky   or u/g/o to copy that class's permissions
CommandWhat it does
chmod u+x script.shMake a script executable for its owner
chmod go-rwx fileRemove all access for group and others
chmod a=r fileEveryone read-only (nobody can write or execute)
chmod u=rw,go=r fileSame as 644
chmod g=u fileGive the group the same permissions as the owner
chmod g+s dirsetgid on a directory: new files inherit the group
chmod +t dirSticky bit on a directory
chmod -R u=rwX,go=rX dirRecursive: directories stay enterable, plain files do not gain execute
chmod --reference=a bCopy the permissions of file a onto file b
find . -type f -exec chmod 644 {} +Set files only (use -type d and 755 for directories)
⚠️ Privacy note: Everything on this page runs in your browser. Nothing you type into the subnet, cron, chmod, timestamp, Base64, port or cheat-sheet tools (and no file you choose) is sent anywhere. The one exception is What's My IP?, which asks this website for your address.
chmod 777 fixes every permission problem.
Right up until it fixes every security problem into existence.

Coming Soon