Guide · 70 tips

Terminal tips and tricks

One command, one result. Each tip below has the command to copy and a link to the full steps: what it shows, what the output means and what to do next. Most only read information, so they are safe to try.

Last updated

Download the cheat sheet (PDF)One page · no sign-up · view or print it

Before you run anything: read the command first. Commands in the PowerShell boxes are for Windows. A few change things on your PC (they say so in their post), and some need an administrator window. Outputs in the posts are examples.

Check your PC

10 tips

Battery, storage, memory, what woke it and what slows it down.

Security and privacy

14 tips

Is something on your PC that should not be? Read-only checks first.

Wi-Fi and network

5 tips

Find a password, see who is connected, test the speed.

Files, apps and storage

6 tips

Find what takes space, move your apps, shrink and extract files.

Phone, Google and shortcuts

9 tips

Not all terminal: search tricks, phone settings and keys worth knowing.

Handy and fun tricks

6 tips

Cheat sheets, a dictionary, the weather and a Matrix screen, all in the terminal.

Claude Code tips

20 tips

Slash commands and flags in Claude Code, Anthropic's coding assistant. Needs a paid plan or API access.

FAQ

Questions, answered

Are these commands safe to run?

Most only read information, such as battery health, open connections or startup tasks. A few change things: the shutdown timer, closing frozen apps, cleaning the Temp folder and moving files. Each post says which kind it is. Read a command before you run it and never paste one you do not understand.

Do I need to run the terminal as administrator?

Only for some, such as netstat -nb, drive health and Microsoft Defender settings. The post for each tip says when. Everything else runs in a normal PowerShell or Terminal window.

Do these work on a Mac?

The Windows tips use PowerShell and Windows tools, so they do not run on a Mac. Where a Mac command exists, the post lists it in an "On a Mac" section. Those Mac commands come from Apple's documentation and have not been run on a Mac by us. The Claude Code tips work on Windows, Mac and Linux.

Why do the outputs in the posts look different from mine?

The outputs shown are examples with made-up names, addresses and numbers. Yours will be longer and will show your own apps and devices. Never post a real output that contains your IP address, Wi-Fi name or serial number.

More from PromptUp