Situatie
Solutie
Wherever possible, I’ve included tools that are available on Windows, so you can run them directly within the Windows Powershell terminal or Command Prompt. However, Linux has much wider support for command-line tools, which is why I recommend following along on a Linux desktop or setting up a WSL box on your Windows machine.

Generate secure passwords
No password manager needed
On Linux, you can generate secure passwords of any length with one command. You can replace the ‘16’ with a number of your choice to dictate the length of the password.
openssl rand -base64 16
[Reflection.Assembly]::LoadWithPartialName("System.Web")
[System.Web.Security.Membership]::GeneratePassword(16, 3)
To make this process easier and faster, we can install a dedicated password generation tool. Run this command once to install the app using winget.
winget install strongpasswordcli
Once it’s installed, you don’t need to re-run the installation command. Just open a terminal and type ‘passcli.exe’ followed by the desired password length.
passcli.exe 20
The password will be automatically copied to your clipboard, and you can paste it right away.
Check the weather
This command is universal and works on macOS, Linux, and Windows the same way. Enter this command to get the weather for your current location.
curl wttr.in
You can get weather reports for a particular location using this command:
curl wttr.in/newyork
Look up your IP address
It’s more useful than most people would assume
You can find the local IP addresses of all connected network interfaces with a single command. On Windows, enter this command.
ipconfig










Leave A Comment?