Use ifconfig (similar to Linux), but if it’s not in your user’s path:
/usr/sbin/ifconfig -a

Articles, notes and random thoughts on Software Development and Technology
Use ifconfig (similar to Linux), but if it’s not in your user’s path:
/usr/sbin/ifconfig -a
As part of moving from one hosting provider to another, I needed to move a large amount of uploaded files to my local machine and then out to a VM on a new provider. Looking at rsync to do this, for moving the content locally first I didn’t want to eat up all my home bandwidth, so found there is a ‘bwlimit’ parameter in KB, e.g. –bwlimit=500 would limit to 500kbps:
rsync --bwlimit=[bw here in kbps] -a --progress [id]@[host]:/source/path .
Run this from the folder where you want the files to arrive what also contains folder ‘path’ (otherwise you’ll end up with path/path/[files here])
As someone who tinkers with older Macs, I often forget which versions of Mac OS X are earlier or later just based on name, so for future reference here’s a quick list (summarized from wikipedia):
| 10.0 | Cheetah |
| 10.1 | Puma |
| 10.2 | Jaguar |
| 10.3 | Panther |
| 10.4 | Tiger |
| 10.5 | Leopard |
| 10.6 | Snow Leopard |
| 10.7 | Lion |
| 10.8 | Mountain Lion |
| 10.9 | Mavericks |
| 10.10 | Yosemite |
| 10.11 | El Capitan – most recent version that can be installed on my 2008 Mac Pro 3,1 without using DosDude’s Patcher or OpenCore Legacy Patcher etc |
| 10.12 | Sierra |
| 10.13 | High Sierra |
| 10.14 | Mojave |
| 10.15 | Catalina |
| 11 | Big Sur |
| 12 | Monterey |
| 13 | Ventura – new System Settings replaced System Preferences |
| 14 | Sonoma |
| 15 | Sequoia |
As a reminder, here’s how to use ssh keys to access remote hosts:
Adding hosts to a ~/.ssh/config file to use different keys with different git hosts is something I find I only need to do once in a while, but I made a note here because I can never remember how this is configured:
If you are required to use passphrases with ssh keys, being prompted to enter your passphrase every time you use a key can get tiresome. On MacOS however you can automate using your passphrase with by adding:
UseKeychain yes
to your ~/.ssh/config file (suggestion from this post here).