You're confusing the action of a specific app ('yes') with the general term 'good UX' that you're trying to associate with a UNIX terminal.
What is your definition of 'good UX' when applied to a terminal? (Any terminal such as those in UNIX, Windows, MacOS, etc., etc., etc.)
Common operations are several times more quicker via the terminal if you know what you are doing.
It is on Linux, indeed, does qualify