Skip to main content
Commonmark migration
Source Link

If you'd like to ignore some interactive questions provided by some script, you can try:

yes | your_command

Or yes "n" if you'd like to No all the questions.

Command:

 

yes -- be repetitively affirmative yes outputs expletive, or, by default, 'y', forever.

If you'd like to ignore some interactive questions provided by some script, you can try:

yes | your_command

Or yes "n" if you'd like to No all the questions.

Command:

 

yes -- be repetitively affirmative yes outputs expletive, or, by default, 'y', forever.

If you'd like to ignore some interactive questions provided by some script, you can try:

yes | your_command

Or yes "n" if you'd like to No all the questions.

Command:

yes -- be repetitively affirmative yes outputs expletive, or, by default, 'y', forever.

Source Link
kenorb
  • 21.9k
  • 18
  • 148
  • 169

If you'd like to ignore some interactive questions provided by some script, you can try:

yes | your_command

Or yes "n" if you'd like to No all the questions.

Command:

yes -- be repetitively affirmative yes outputs expletive, or, by default, 'y', forever.