What command should be used to ask the user a question which requires a yes or no response?
-
what
-
?
-
yes
-
prompt
In ScriptLINK, the 'yes' command is specifically designed to prompt users for yes/no confirmations. This is different from 'what' or 'prompt' which serve other purposes, and '?' which is used for file information display.
No scripting/tool context is given in the question, and none of the four one-word options (what, ?, yes, prompt) is an unambiguous, universally-recognized command name for 'ask a yes/no question' across a single well-known language or OS. The closest real-world match is the Unix 'yes' command, but that command does the opposite of what's asked: it repeatedly outputs 'y' to auto-answer prompts fed to it via a pipe, rather than asking the user anything. 'prompt' is a generic term/command (e.g., SQL*Plus PROMPT, MS-DOS PROMPT) but those don't specifically request yes/no input either. Without knowing the intended language/tool, no option can be confirmed as definitively correct.