The "yes" command existed before "-y"
Posted Sep 6, 2007 14:04 UTC (Thu) by
hamjudo (subscriber, #363)
Parent article:
The many faces of fsck
There was no need to wear out the enter key.
Before fsck had -y, you could have used
yes | fsck /dev/rd02a
You should go back in time and tell the younger version of yourself that. It will save your fingers.
If you used fsck before the yes(1) command, then suggest to yourself that you write a yes(1) command, it is only a few lines longer than /bin/true.
(
Log in to post comments)