I got a sudden fan shut down every time I would switch on my MacBook Pro (16-inch, 2019) after I upgraded macOS from Catalina to Big Sur. Here's how I fixed it.
CMD + R- Press on reboot to enter Rescue Mode
Utilities › Terminal
kmutil trigger-panic-medic --volume-root /Volumes/Macintosh\ HD
This is the Kext extension that, apparently, was causing the issue.
To add a shortcut to your macOS Terminal, the only thing we need to do is to
EXPORT that path in your bash profile. So go ahead and open the
~/.bash_profile file with a text editor, and add the following to the bottom of this file.
This will add an environment variable
$MYFOLDER to every new bash Terminal window you create. So you can navigate (or use the variable of this path) to this folder with:
You can also type
$MYFOLDER/other-folder —then press the
TAB key— to expand the path shortcut to:
The simplest way to zip a file or folder on Mac OS X—and to password protect it—is to run the following command on the Terminal.
zip -er archive.zip /path/to/directory/
After running the command (and only if
/path/to/directory is a valid file or directory) you'll be prompted for a password. If you don't want to specify a password just omit the
-er part. And, also, you can compress multiple files by specifying a list of files at the end.
zip -er archive.zip file1.jpg /path/to/directory anotherFile.zip