Re: "Killed" reply from rm command



I rather go up one directory level and remove the
whole directory, I feel safer that way..

cd ..
rm -R ./<directory_name>

regards,
Enrique.

--- Juan Camilo Yanquen <jcyanquen@xxxxxxxxx> wrote:

ls | xargs rm

On Dec 4, 2007 1:46 AM, F. Even
<aixlists@xxxxxxxxxxxx> wrote:

Here's another method of ridding the files:

for i in $(ls)
do
rm $i
done

(or add an echo $i before the rm if you want it to
print the file going
away).

That's how I usually end up working that limit.


On Nov 27, 2007 4:43 PM, oscar torres carranza
<oshuto90@xxxxxxxxxxx>
wrote:

Hi

Try this

1. smitty system
2. Change / Show Characteristics of Operating
System.
3. To increase the value of "ARG/ENV list
size in 4K byte
blocks []"

I had the same problem because of the amount of
files.


I hope you will serve

Regards

Oscar H. Torres Carranza


------------------------------
Date: Tue, 27 Nov 2007 12:17:29 -0600
From: DTaylor@xxxxxxxx
Subject: "Killed" reply from rm command
To: aix-l@xxxxxxxxxxxxx


Hi *,



Oslevel ?r = 5100-05 (yeah, I know)



I was cleaning out a temp directory today that
had acquired thousands of
tmp files. Initial a simple "rm *" failed
because there were too many
files. I then started deleting them using
masks. After deleting several
hundreds of files, I again attempted a "rm *",
however this time the word
"Killed" was returned. Has anyone seen this
and/or can explain it?? The
system is still working fine the load at the
time was very minimal (no where
near running out of memory or any other kind of
performance limitation).



Below is the output:



tower2-local /home/drtsmusr/tapehistory/tmp # rm
*

ksh: /usr/bin/rm: 0403-027 The parameter list is
too long.

tower2-local /home/drtsmusr/tapehistory/tmp # rm
checkinhist.TMP1.4*

tower2-local /home/drtsmusr/tapehistory/tmp # rm
checkinhist.TMP1.5*

rm: checkinhist.TMP1.5*: A file or directory in
the path name does not
exist.

tower2-local /home/drtsmusr/tapehistory/tmp # rm
checkinhist.TMP1.6*

tower2-local /home/drtsmusr/tapehistory/tmp # rm
checkinhist.TMP1.7*

tower2-local /home/drtsmusr/tapehistory/tmp # rm
*

Killed

tower2-local /home/drtsmusr/tapehistory/tmp # ls



TIA



*David *





**********************************************************************

This email and any files transmitted with it are
confidential and

intended solely for the use of the individual or
entity to whom they

are addressed. If you have received this email
in error please notify

the system manager.

This footnote also confirms that this email
message has been swept by

MIMEsweeper for the presence of computer
viruses.

www.clearswift.com



**********************************************************************


------------------------------
Express yourself instantly with MSN Messenger!
MSN

Messenger<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>






--------------------------------------
"What you have been obliged to discover
by yourself leaves a path in your mind
which you can use again when the need
arises." --G. C. Lichtenberg

http://themathcircle.org/


____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping