This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
playground:playground [2023-05-28 15:30:02] mi [Windows hiberfil.sys] |
playground:playground [2024-11-03 15:41:34] (current) 85.195.225.162 [pepper] |
||
---|---|---|---|
Line 142: | Line 142: | ||
https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/ | https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Mac Time Machine | ||
+ | https://superuser.com/questions/1445618/disable-time-machine-on-a-mac-tmutil-disable-doesnt-wor\\ | ||
+ | https://superuser.com/a/1462352 | ||
+ | |||
+ | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
+ | |||
+ | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
+ | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
+ | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
+ | |||
+ | And? https://soundmacguy.wordpress.com/2021/03/03/really-disabling-time-machine-a-multi-pronged-approach/ | ||
+ | |||
+ | sudo defaults write /Library/Preferences/com.apple.TimeMachine.plist DoNotOfferNewDisksForBackup -bool true | ||
+ | gives | ||
+ | defaults read /Library/Preferences/com.apple.TimeMachine.plist | ||
+ | { | ||
+ | AutoBackup = 0; | ||
+ | DoNotOfferNewDisksForBackup = 1; | ||
+ | PreferencesVersion = 5; | ||
+ | } | ||
+ | |||
+ | |||
+ | And/or maybe | ||
+ | |||
+ | touch /Volumes/MY_DISK/.com.apple.timemachine.donotpresent | ||
+ | sudo tmutil disable | ||
+ | |||
+ | ==Mac IP etc. | ||
+ | https://superuser.com/questions/724525/concise-ip-information-in-os-x-terminal | ||
+ | https://stackoverflow.com/questions/60743407/how-do-i-find-out-the-gateway-ip-in-shell | ||
+ | https://apple.stackexchange.com/questions/423127/how-can-i-get-the-local-ip-address-in-macos-to-use-in-a-script | ||
+ | https://apple.stackexchange.com/questions/20547/how-do-i-find-my-ip-address-from-the-command-line | ||
+ | |||
+ | ifconfig -l | xargs -n1 ipconfig getifaddr | ||
+ | | ||
+ | route -n get default | ||
+ | | ||
+ | ipconfig getifaddr $(route -n get default | awk '$1=="interface:" { print $2 }') | ||
+ | | ||
+ | route -n get default | grep -E 'gateway|interface' | ||
+ | | ||
+ | |||