Why does AI tell you to use Terminal so much?

2026-03-118:223563eclecticlight.co

When humans explain how to tackle a Mac problem, they usually prefer to use GUI apps when appropriate. AI much prefers you to enter commands into Terminal. This has consequences.

There’s a striking difference between troubleshooting recommendations made by AI and those of humans. If you’ve tried using AI to help solve a problem with your Mac, you’ll have seen how heavily it relies on commands typed into Terminal. Look through advice given by humans, though, and you’ll see they rely more on apps with GUI interfaces. Rather than sending you straight to fsck_apfs, for instance, most humans will prefer to direct you to Disk Utility and its First Aid feature.

This is because most popular AI like ChatGPT, Claude and Grok is based on LLMs, Large Language Models, built on tokens for words. The great majority of humans using Macs work primarily in its GUI, using apps rather than Terminal commands. Verbalising the use of GUI apps is relatively difficult, and with the popularity of YouTube rather than written blogs, is becoming a dying art.

Command tools are all very well, but in this context they have disadvantages, among them being:

  • Few understand the commands used, and AI seldom explains those provided unless explicitly asked to do so. This results in the human learning little other than a long list of incomprehensible commands, and acquiring neither understanding nor insight.
  • Commands often lack the safeguards normally built into in apps, so can more readily cause damage or mislead.
  • Commands can readily generate overwhelmingly large output, even when piped to a file for later browsing.
  • Pasting commands into Terminal has become a favourite way to trick the unsuspecting into installing malware.

Even for an advanced user, confident assertions made by an AI can mislead. Here’s an example taken from ChatGPT’s advice on potential detections of malicious software. For this I have set ChatGPT’s output in italics, together with its commands as code. It’s worth noting that each command was explicitly given for the bash command shell, although in macOS Catalina (in 2019) Terminal changed to use zsh rather than bash as its default.

ChatGPT starts this exchange with a teaser that few could resist:
If you want, I can also show you how to tell in 10 seconds whether a Mac actually has malware despite these logs (there are 3 very specific indicators in Console).

Vague predicate

Here’s the most reliable way to see if macOS has ever detected malware on your Mac using Apple’s internal security logs. 1. Check the XProtect malware history

Open Terminal and run:


log show --predicate 'subsystem == "com.apple.XProtectFramework"' --last 30d

This log show command doesn’t access “Apple’s internal security logs”, which don’t exist, but the Unified log. Nor does the recommendation use Console to access the log, as promised. The predicate given is too non-specific to be useful for the stated purpose, and the time period of 30 days is absurdly long and doesn’t match the claimed period either.

On my Mac with the longest log records, its oldest Special tracev3 log file was created on 9 Feb 2026, and now has only 43 KB left from its original size of 11,298 KB, and the next oldest from 10 Feb has 34 KB left from 11,148 KB. On an older Intel Mac, the oldest creation date of a Special log file was 6 March, just 4 days previously, not 30.

When run on the first of those on 10 March, with longer log records, that log show command returns two Fault entries from 11 Feb, and more complete records from Special logs starting on 2 March, but no full log records until 6 March.

The predicate used is too general to select useful entries and is overwhelming, as it returns a total of 1,505 log entries for that command.

Log entries a year old

2. Specifically check for remediation events
To filter just real detections:

log show --predicate 'eventMessage CONTAINS "remediat"' --last 365d
If nothing prints, no malware has been removed in the last year.

ChatGPT here defines “real detections” as those for which remediation was attempted. I know of no evidence from research to support that assumption. Given the limitations in retrieving log entries from 30 days noted above, it seems absurd to assume that any log entries will be retained from over 360 days ago.

It’s malware only if blocked

3. Check Gatekeeper malware blocks
Run:

--predicate 'process == "syspolicyd" AND eventMessage CONTAINS "malware"' --last 365d

ChatGPT has here redefined its original claim to limit it to malware that was blocked by Gatekeeper, and once again assumes it can retrieve log entries from over 360 days ago.

No verification

4. Verify XProtect definitions are current
Run:

system_profiler SPInstallHistoryDataType | grep -i xprotect
You should see recent updates like: XProtectPlistConfigData XProtectPayloads

Apple updates these silently in the background.

This is one of its most curious recommendations, as system_profiler is the command line interface to System Information, a familiar and far more accessible app. What that command does is look for the case-insensitive string “xprotect” in the Installations list. Unfortunately, it proves useless, as all you’ll see is a long list containing those lines, without any dates of installation or version numbers. On my older Mac, piping the output to a file writes those two words on 6,528 lines without any other information about those updates.

I know of two ways to determine whether XProtect and XProtect Remediator data are current, one being SilentKnight and the other Skint, both freely available from this site. You could also perhaps construct your own script to check the catalogue on Apple’s software update server against the versions installed on your Mac, and there may well be others. But ChatGPT’s command simply doesn’t do what it claims.

How not to verify system security

Finally, ChatGPT makes another tempting offer:
If you want, I can also show you one macOS command that lists every XProtect Remediator module currently installed (there are about 20–30 of them and most people don’t realize they exist). It’s a good way to verify the system security stack is intact.

This is yet another unnecessary command. To see the scanning modules in XProtect Remediator, all you need do is look inside its bundle at /Library/Apple/System/Library/CoreServices/XProtect.app. The MacOS folder there should currently contain exactly 25 scanning modules, plus the XProtect executable itself. How listing those can possibly verify anything about the “system security stack” and whether it’s “intact” escapes me.

Conclusions

  • Of the five recommended procedures, all were Terminal commands, despite two of them being readily performed in the GUI. AI has an unhealthy preference for using command tools even when an action is more accessible in the GUI.
  • None of the five recommended procedures accomplished what was claimed, and the fourth to “verify XProtect definitions are current” was comically incorrect.
  • Using AI to troubleshoot Mac problems is neither instructive nor does it build understanding.
  • AI is training the unsuspecting to blindly copy and paste Terminal commands, which puts them at risk of being exploited by malicious software.

Previously

Claude diagnoses the log


Read the original article

Comments

  • By littlecranky67 2026-03-118:365 reply

    Because it was not trained on screenshots or real rendered computer UIs, but text. That is also why in my experience, LLM suck at describing click paths, and are less helpful on UI development, as they never really "see" the result of the code as in rendered HTML outputs.

    • By Gigachad 2026-03-118:464 reply

      The terminal is also just the easier way to instruct someone to do things. "Just run this" is easier than a step by step guide through UIs which often change.

      • By ErroneousBosh 2026-03-119:121 reply

        I go into the shop, I walk up to the counter, and I say "Can I have a 1/2" drive T50 Torx bit please", and the person behind the counter says "Yes of course" and we go over to the small expensive tools cabinet and get one out.

        I don't go into the shop and wander about until I find something that looks like it, then stand there pointing things going "THAT!" until someone figures out what I mean.

        And now I have a T50 Torx bit that I can stick on a ratchet with a long extension and get the passenger seat out of the Range Rover so I can retrieve my daughter's favourite necklace from where it's gotten entangled with the wiring to the gearbox and suspension ECUs in a place where I can see it with a dentist's mirror but can't actually get a grabber onto to fish it out, worse luck.

        So that's my afternoon sorted then. Because we're not just hacking on computers round here.

        • By relaxing 2026-03-1110:421 reply

          On the other hand, if you went and browsed the visual interface, you might discover you could purchase a 1/2” drive to 1/4” hex adapter, thereby opening up the possibility of using the entire set of impact driver bits you already own.

          • By ErroneousBosh 2026-03-1113:171 reply

            That doesn't solve the problem I have, because I already have a 1/4" ratchet and I don't have a 1/4" T50 bit.

            Furthermore, a T50 bit with 1/4" drive would just snap instantly. If the bit didn't break, you'd twist the end off the extension bar.

            I have a specific problem, which I already know how to solve, which has a specific solution, for which I need a specific component.

            • By relaxing 2026-03-1123:251 reply

              Nonsense. They make T50 bits for regular impact drivers and they don’t immediately self-destruct.

              Anyway the point was about the discoverability factor of user interfaces.

              • By ErroneousBosh 2026-03-120:00

                So why would a 1/2" to 1/4" adaptor help, then?

                Consider that to crack the seat bolts free initially, I need to use a metre long breaker bar to get them moving, and I need to torque them down to something ridiculous on refitting.

      • By jadeopteryx 2026-03-118:54

        When Windows 95 was introduced as a fully graphical operating system every manual coming with Microsoft software instructed you to open the "Run"-dialog and type your drive letter followed by "setup.exe" to install the software.

      • By jasonfrost 2026-03-1114:08

        Like the past several decades of Linux problems, you find some stack overflow answer saying just run this command. Terminal is eternal, UI changes

      • By al_borland 2026-03-1115:02

        Getting people in the habit of running random commands they don’t understand in the terminal seems dangerous.

    • By ixsploit 2026-03-118:59

      The UI is also less stable then most cli tools.

      The enterprise tools I am currently working with often have outdated screenshots in their own documentation.

    • By Jackson__ 2026-03-118:56

      Alternative take: Because no designers are getting paid to move "rm" to "fileops rm" or otherwise between releases.

    • By Myrmornis 2026-03-118:471 reply

      Getting them to take screenshots with playwright/puppeteer and look at them as part of their development iteration cycle works well.

      • By littlecranky67 2026-03-118:491 reply

        For local inference, sure, but we simply lack the computing power to train them on all the images and html content that is available in the internet and books. That will happen sometime in the future, though.

        • By Myrmornis 2026-03-1115:11

          Ah right, sorry, you were making a much more interesting point than my reply! I read "UI development" and jumped to the conclusion that the point was just about inference-time modify-test cycles. Yes, agreed, if they trained on images, or even better (?) on (code, image) or (code-delta, image-delta) pairs, they would surely be better at UI development.

    • By 6LLvveMx2koXfwn 2026-03-119:07

      Yep and also their 'click paths' (<- love that by the way) are trained on READMEs which are often out of date.

  • By magnio 2026-03-118:453 reply

    I am not the most ardent supporter of LLM, but the whole article reads like a critique of macOS idiosyncrasies and its aversion to CLI and text format. Why does macOS tell you to use the GUI so much?

    Sure, GUI is more accessible to the average users, but all the tasks in the article aren't going to be done by the average user. And for the more technical users, having to navigate System Settings to find anything is like Dr. Sattler plunging her arms into a pile of dinosaur dung.

    • By piva00 2026-03-1111:15

      Power users can use CLIs quite easily on macOS. The official documentation is geared towards the non-power users but information about most tasks a power user wants done in a CLI are available, it just requires a power user skill of searching for it.

      It's a good filter, keep it simple and easy for the vast majority of people, and have tools for the advanced ones to use.

    • By shevy-java 2026-03-119:091 reply

      > macOS idiosyncrasies and its aversion to CLI

      But people using OSX often also know the commandline quite well - at the least better than most windows users. I saw this again and again in university.

      • By kolinko 2026-03-119:171 reply

        It also helps that OSX has FreeBSD underneath (so, practically, Linux).

        • By coldtea 2026-03-1110:17

          >FreeBSD underneath (so, practically, Linux).

          BLASPHEMY

    • By coldtea 2026-03-1110:16

      >Why does macOS tell you to use the GUI so much?

      Because it's whole point is that it's a graphical OS.

      If you used just cli unix userland, might as well use Linux.

  • By mgaunard 2026-03-118:431 reply

    The real question is why wouldn't you prefer the terminal way over silly GUIs?

    • By OJFord 2026-03-119:031 reply

      Author seems to be a painter/journalist/art journalist—so the answer to that is the same as to the OP question: so far it's primarily been built out for programming, by and for software engineers, where it seems completely natural.

      • By OliverM 2026-03-119:062 reply

        The author is an accomplished software engineer.

        • By stavros 2026-03-119:101 reply

          Then why do they call it "Terminal" (ie the macOS app) instead of "the terminal" (the concept)? I was baffled.

          • By matsemann 2026-03-1110:17

            It's an Apple-user thing. It's not "my phone", it's "my iPhone". It's not my laptop, it's my MacBook. It's not my headphones, it's my AirPods. It's not my smart watch, it's my Apple Watch Ultra 3 Sapphire Gold Plated. It's not my terminal, it's the Terminal, the one to rule them all. Only plebs use non-branded terminals!

        • By kolinko 2026-03-119:22

          and he’s using a free version of chatgpt? and not publishing source prompts - so there is no way to replicate?

HackerNews