MAC Tips & Tricks
Reinstall a MAC
See procedure on: https://support.apple.com/en-us/HT204904
Apple silicon: Turn on your Mac and continue to press and hold the power button until you see the startup options window, which includes a gear icon labeled Options. Select Options, then click Continue.
Intel processor: Make sure that your Mac has a connection to the internet. Then turn on your Mac and immediately press and hold Command (⌘)-R until you see an Apple logo or other image.
You can Erase all the disk, then you just need an internet connection to activate the MAC. Then he will download from Apple the OS (it take 1h to download)
Install Brew (Package Manager)
Install bash auto completion
Pipe the output of a CLI program execution (output and error on a file)
(More info on https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file)
Remove content of a directory
Define Environment variable
Find if a file is present and what is his path
Display Hidden files
Last updated
Was this helpful?