cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2132
Views
0
Helpful
4
Replies

rm command

rcrowe
Level 1
Level 1

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*

4 Replies 4

brenden
Level 1
Level 1

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

i already have that out...................

kleem
Cisco Employee
Cisco Employee

Try "/usr/sbin/rm -f file".

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.