Category: Command Line

How to Clear Icon Cache on Mac

Go to OSX Daily to read How to Clear Icon Cache on Mac

Occasionally, Mac users may notice that icons in the Finder of MacOS or the Dock of MacOS either display as generic icons, or the icons do not align with what they should (for example, seeing a generic document icon instead of a PDF thumbnail, or seeing a VLC icon instead of a zip archive icon, or seeing a generic application icon rather than Safari icon).

If you experience an issue with the icon display on the Mac, you can manually clear the icon cache, which will force the icon cache to rebuild, thereby resolving the inaccurate display of icons on the Mac.

How…

Read more: How to Clear Icon Cache on Mac

How to Get the Older Style MacOS Alert Dialog Back

Go to OSX Daily to read How to Get the Older Style MacOS Alert Dialog Back

MacOS Monterey and MacOS Big Sur introduced a new style to the MacOS alert dialog boxes, which look more like something you’d see in iOS than MacOS. In the new design style for MacOS alert dialog windows, everything is centered with the app icon on the top and the alert messages below, whereas the older traditional style of MacOS alert dialog boxes has always shown an icon on the far left, with the alert information to the right of that.

If you’d like to return to the older traditional style of MacOS alert dialog boxes and windows, you can do so with the help…

Read more: How to Get the Older Style MacOS Alert Dialog Back

How to Check SHA512 Checksum on Mac

Go to OSX Daily to read How to Check SHA512 Checksum on Mac

SHA512 hashes are often used to determine data integrity, whether for matching a downloaded file to an original on a server, or for command output, or to make sure a file transfer was successful, or not tampered with.

Checking a SHA512 hash is pretty easy on a Mac, thanks to bundled command line tools that are preinstalled on any semi-modern MacOS installation. We’ll cover two different methods to check and verify SHA512 hash on the Mac, using both the shasum command, and openssl command.

How to Check & Verify SHA512 checksum with shasum

MacOS includes the…

Read more: How to Check SHA512 Checksum on Mac

Easily Bulk Download & Install Mac Apps with macapps.link

Go to OSX Daily to read Easily Bulk Download & Install Mac Apps with macapps.link

Ready to automate Mac app downloads and installs? If you’re setting up a new Mac, you probably know how tedious it is to manually navigate to a bunch of different developer websites, and to individually download and install all the Mac apps you may want. This is a necessary but time consuming procedure for setting up a new Mac, particularly when you’re using apps not found on the Mac App Store.

And here is where the MacApps.link service comes in handy, by bundling a bunch of different Mac applications of your choosing together into a single executable command…

Read more: Easily Bulk Download & Install Mac Apps with macapps.link

How to Change or Remove Font Smoothing on MacOS Monterey & Big Sur

Go to OSX Daily to read How to Change or Remove Font Smoothing on MacOS Monterey & Big Sur

Are you noticing blurry text on your Mac’s display while navigating through the menu and across apps? More specifically, has this been an issue ever since you updated to macOS Monterey or Big Sur, and on a non-retina display? If so, chances are, font smoothing is enabled by default, and for some users they feel like this can result in slightly blurry text in menus and across apps. If you don’t like this, you’ll need to disable the feature in MacOS.

Until the release of macOS Big Sur, there was this setting called “Use Font Smoothing when available”…

Read more: How to Change or Remove Font Smoothing on MacOS Monterey & Big Sur

Enable Low Power Mode on Mac via Command Line

Go to OSX Daily to read Enable Low Power Mode on Mac via Command Line

If you are a Mac laptop user and you spend a lot of time at the command line, you may appreciate knowing that you can enable Low Power Mode on a Mac laptop through a terminal command.

Enabling Low Power Mode through the command line on a MacBook Pro, MacBook Air, and MacBook is the same end result as if you toggled Low Power on through the macOS Battery preferences, except of course that you never have to leave the comfort of the terminal. You can also enable Low Power Mode through the Terminal, then turn it off from System Preferences, or vice versa.


For the…

Read more: Enable Low Power Mode on Mac via Command Line

How to Install nano Text Editor on Mac Again

Go to OSX Daily to read How to Install nano Text Editor on Mac Again

If you have attempted to use nano at the command line on MacOS recently, you may have noticed that the pico text editor is launched instead, via a symlink for /usr/bin/nano to pico. This is because the latest versions of MacOS remove the nano text editor from the command line for whatever reason, and instead have replaced nano with pico.

If you prefer to use the nano text editor, you can get nano back in the command line by installing it manually yourself.

The simplest way to install the nano text editor on MacOS is to use Homebrew.

How to Install nano Text…

Read more: How to Install nano Text Editor on Mac Again

Run Shortcuts from the Command Line on Mac

Go to OSX Daily to read Run Shortcuts from the Command Line on Mac

The Mac includes a command line interface to run and interact with Shortcuts app. This could be potentially useful to some macOS users who rely on the Shortcuts app for scripting and automation, and who spend a lot of time in the Terminal

The currently available shortcuts command line flags include ‘run’, ‘list’, ‘view’, and ‘sign’, but note that with the exception of ‘list’, they will all launch the Shortcuts app in the GUI on the Mac.

How to Run Shortcuts from Command Line on Mac

From the Terminal, use the following syntax:

shortcuts run...

Read more: Run Shortcuts from the Command Line on Mac

Merge Multiple Terminal Windows into Tabs on Mac

Go to OSX Daily to read Merge Multiple Terminal Windows into Tabs on Mac

Have a bunch of Terminal windows open on your Mac that’d you like to merge into a single tabbed window? No problem, you can stop juggling several different terminal windows and get them all sorted out into a nice and easy to manage single tabbed window, thanks to a handy feature built into the Terminal app.

You’ll need to have at least two terminal windows open to be able to use the merge windows feature in Terminal app for Mac. This feature gets potentially more useful with the more windows you have open, but if you just want to try it out yourself open a…

Read more: Merge Multiple Terminal Windows into Tabs on Mac