Use it at your own risk
Command Guide is a free reference, provided as is, for information and learning. Every command is written with care, but I can't promise that any of it is correct, complete, up to date or right for your system. Commands behave differently between versions, distributions, devices and configurations.
Before you run a command
- Read it and make sure you understand what it does.
- Replace the example names, addresses and paths with your own.
- Try it in a lab or test environment before using it on anything that matters.
- Back up first. Commands with a warning can delete data, wipe configuration, restart devices or lock you out. Changing firewall, network or SSH settings on a remote machine can cut off your own connection to it.
The tools
The subnet calculator, cheat sheet and summarise networks follow standard addressing rules and the subnet limits that AWS, Azure and Google Cloud publish. Providers change their limits, so check the results before you use them on a live network or in the cloud.
Scanning and security tools
Only use nmap and other scanning or security commands on networks and systems you own, or that you have clear permission, ideally in writing, to test.
Scanning or accessing systems without permission can be a crime, including under Ireland's Criminal Justice (Offences Relating to Information Systems) Act 2017 and similar laws elsewhere. It can also break your internet or cloud provider's terms. You're responsible for how you use these commands.
Liability
As far as the law allows, Gerard O'Brien isn't liable for any loss or damage that comes from using Command Guide or relying on it. That includes lost data, downtime, damage to hardware or software, security incidents and lost income. Nothing here limits any liability that can't be limited by law.
Not professional advice
Command Guide isn't a substitute for advice about your own systems from a qualified professional. The views on it are my own.
Product names
Product names used on the site, such as Linux, Windows, PowerShell, macOS, Cisco IOS, Docker and Proxmox VE, belong to their owners. Command Guide isn't affiliated with or endorsed by any of them.
Sponsors and affiliate links
Command Guide has no sponsored content or affiliate links. If that changes, they'll be clearly labelled where they appear.
Other sites
Links to other sites are there for convenience. I don't control those sites and I'm not responsible for what's on them.
Found a mistake?
Email [email protected] and I'll fix it.
Law
Irish law applies to this disclaimer and to your use of Command Guide. It was last updated on 16 November 2026.