Macworld - UK (2022-02)

(Antfer) #1
30 Macworld • February 2022

MACOS TIPS & TRICKS


Step 2.


  1. A new window appears that looks
    like the screenshot below, with the
    main section blank. See that line in
    the main section of the screenshot?
    You’re going to enter that in your own
    window. Here’s the code so you can
    copy and paste it.


export PATH=/usr/local/
bin:$PATH


  1. Now you can save the file by
    pressing Control+O (the letter, not
    zero). A prompt will appear near
    the bottom of the window, telling
    you the file name that will be saved.
    Press Return, then exit by pressing
    Control+X, and then quit and relaunch
    Terminal to implement the changes.


HOW TO INSTALL AND RUN
SMARTMONTOOLS
Now it’s time to install the utility to let
you check the health of your Mac’s
SSD. You can visit the smartmontools

website (fave.co/3f7g0yw) to learn
more about the software.


  1. To install smartmontools, copy and
    paste the code below into the Terminal
    (hat tip to @marcan42).


brew install smartmontools &&
sudo smartctl --all /dev/disk0

Press Return.
Note: If you see zsh: command
not found: brew, the PATH
modification didn’t work. Re-type
nano ~/.zshrc in the window and
then

export PATH=”/opt/homebrew/
bin:$PATH”


  1. Enter your password and press
    Return. This will install the software
    and then run it. Your Terminal window
    should look like this before you enter
    your password:

Free download pdf