Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

rm command

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
New Member

Re: rm command

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

New Member

Re: rm command

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

Cisco Employee

Re: rm command

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

New Member

Re: rm command

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.

450
Views
0
Helpful
4
Replies