rajeev karamchedu

Technology and Professional Services Director, currently part of a very exciting and talented team of technology/data management solution provider, IronBrick

4 responses to “utterly useless unix command (uuuc)”

  1. BB

    anything that requires a repetitive entry of ‘y’, for example. I highly recommend trying the following:

    % yes | /bin/rm -i *

    :-)

  2. mr e

    Thanks for the tip! this is going to dramatically cut down on the amount of code I have in my scripts. Great find…

  3. gna

    % ssh $hosts “/usr/bin/yes | /usr/sbin/pkgadd ”

    Saying “y” to every question pkgadd might ask so you can do something useful while it installs software on $hosts.

    Hint: first comment contained brackets so the “hosts” is missing

Leave a Reply