Get tricksy with terminal

2 min read

Feeling brave? Try these tips and tricks to speed up the way you use your Mac

To learn about an instruction in Terminal, use the man command.
To view all currently running processes on your Mac, type top in Terminal and resize the window.

Many people baulk at the idea of using the Mac’s Terminal but, as long as you’re careful, it’s nothing to be afraid of. Open Terminal – it’s in Applications > Utilities, or open App Launcher and find it in the Other folder. The Terminal window shows your username and a cursor. To use one of the Terminal commands in this section, type it in exactly as it is here, with no spaces at the end, and press Enter.

If you’ve used a Wi-Fi password before but can’t find it on your Mac, in Terminal, type security find-generic-password -wa “Wifi” changing ‘Wifi’ to the name of the Wi-Fi SSID in question.

You then have to type in your administrator’s name and password. You’re shown the password in question, provided it’s been used on your Mac before. To list actively running processes on your Mac, type top in Terminal. You’ll see the running processes listed. If you’ve typed in a lot of Terminal commands, and it’s all looking too cluttered, you can wipe the window clean by typing clear A good way to learn about Terminal is to type man “command” changing ‘command’ to the command you wish to learn about. A page from the Terminal manual is displayed for your perusal.

You can find the Mac’s Terminal application in Applications > Utilities, or in Launchpad > Other.
Image credit: Apple Inc

To change the default name for screenshots taken on your Mac, in Terminal, type defaults write com.apple. screencapture name “filename” changing ‘filename’ to the screenshot title you want to use. To revert back to the default way of naming screenshots, type defaults write com.apple. screencapture name “Screenshot”.

If you want to capture screenshots without the date and time in the file name, type defaults write com.apple. screencaptu