The Archives

  • 01.Sep.09
    Being repetitive shell | fernape | (0)
    yes confirms forever by showing y continuously. If followed by a parameter, it repeats the parameter. $ yes y y y y y ^C $ It is useful when you are sure what you are doing. For instance, if you want to delete a set of write protected files: $ yes | rm file_proctected*.txt Enjoy!