09-06-2001 12:02 PM - edited 03-08-2019 08:41 PM
how come no matter what options I give the "rm" command I still get prompted to answer (yes/no) to delete the file ???
usage: rm [-fiRr] file ...
I have tried every combination. I am specifying multiple files, like: rm -f iplog.* or rm -f log.1*
09-06-2001 12:56 PM
Look in your profile or env variables for your user id (netrangr). It has an alias somewhere with
alias rm=rm -i
Remove it and you'll be fine. This is basic shell stuff on Unix.
FYI..
Brenden
09-06-2001 01:59 PM
i already have that out...................
09-06-2001 02:52 PM
Try "/usr/sbin/rm -f file".
09-06-2001 04:12 PM
it started working after i manually deleted like 2 gigs of logs. from what i was told there was a flaw in CSPM 2.3.1(i) that filtered events were not always filtered. well i have high amounts of traffic by this sensor and the logs filled up the whole partition to like 7 gig. this is when the command started flaking out. after about 2 gigs of files got deleted it started working properly.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide