For Linux, there is a command xmessage
which displays a message in a window. Does anyone know what is the equivalent one on macOS?
macOS Bash – What is the ‘xmessage’ Command Equivalent?
bashunix
Related Question
- MacOS – Equivalent of Ubuntu’s write-mime-multipart
- Unix – Modern Equivalent of ‘ps aux’ on macOS Sierra
- Locate command with regex equivalent in OSX
- Mac OSX – Reset ‘Top’ Command Default View
- macOS – Iptables Equivalent Command
- MacOS equivalent of the Windows assoc command
- MacOS Command-Line Security Updates – Equivalent to apt-get Update All
Best Answer
AppleScript
On macOS, displaying simple dialogs is possible with AppleScript:
See Displaying Dialogs and Alerts in Apple's Mac Automation Scripting Guide.
Additional buttons, choices, and other limited interface elements can be added: