This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup cygwin to ask before deleting a file?


Kevin M wrote:
Hello,
I was wondering if there is a way to setup cygwin to ask before deleting files. I'm learning Linux and Cywin and so any help would be appreciated!

Overall, I'd recommend getting yourself a good Linux/Unix utilities book. You'll learn allot. Also, 'man' and 'info' are your friends. Speficially in this case 'man rm' will point out to you that there's a '-i' flag that will accomplish what you want. If you want this when you use 'rm', you can set up an alias to make 'rm' always equate to 'rm -i'. Check out 'man bash' for information on how to do this with Bash. If you use a different shell, you can check out the man page for that shell instead. And just a last book-keeping note - the Cygwin list is not a general Linux/Unix help list. We like to keep it to Cygwin-specific issues. If you have a question that doesn't fit into that mold, we prefer you find another source (book, web site, email list/archive) for your answer.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]