Tag Archives: macOS

Daft Terminal Tricks

Google Maps? Apple Maps? pfffft, I say nae nae!! how about ASCII maps. launch terminal type telnet mapscii.me  (will work on any telnet client that uses xterm)

Ascii Map Europe

Ascii Map Europe

– use A & Z to zoom in and out

Ascii Map Scotland

Ascii Map Scotland

How about the weather?

Still in terminal, use the command finger cityname@graph.no – example finger edinburgh@graph.no

Ascii Terminal Weather

Ascii Terminal Weather

To much time on my hands? maybe! 😉

Banner Terminal Command

Another, probably somewhat useless command,  is ‘banner’ this will output a banner of inputted text. I can’t really imagine a use for this.

you can change the width with the -w switch,  here I used banner -w84

Banner Terminal Aye

Banner Terminal Aye

 

 

Updating macOS / OSX Terminal

You can Update macOS / OSX Terminal.app – I recently had a iMac that refused to update from the App Store.  It would appear to download the updates, reboot the system but the updates were not installed.   After some troubleshooting, I found that I could install these from terminal.

After opening terminal.app run the command softwareupdate -l
The -l switch will list all available updates

Mac Software Update Terminal Command

Mac Software Update Terminal Command

This will check and list any available updates that are available for the system.
the next command must be run as root, sudo softwareupdate -iva

-i switch installs updates.
-v switch is verbose, and will display a percentage as they are installed
-a switch is for all available updates

you could use -r to install only recommended updates

Mac Software Update Terminal Reboot

Mac Software Update Terminal Reboot

Once downloaded and installed you will be prompted to reboot the system, while in terminal why not reboot with sudo reboot

Obviously while using sudo be careful, a wrong command can do a lot of damage!
other that broked systems, this could be useful writing scripts / SSH to remote systems…..

perhaps its just me, but it seemed a wee bit faster than using the App store. maybe 🙂
This command should also work an all revisions of macOS / OSX