rm -i *.txt | yes
Good morning all,
I have a question that I don't know how to google. When I issue a command like "rm -i *.txt", it responds with a question that I type 'y' for every line. I recall a way to issue a 'y' to every question. I thought it was 'y!' but that doesn't seem to work. Does anyone know this trick.
Thanks,
Eric
p.s. yes, I know I can use \rm *.txt or rm -f *.txt for this specific trite case, but there are other situations where this would be helpful.
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss