Re: ls and rm: "argument list too long"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Yes, you are right - my example was misleading.

Thanks for the very easy solution (cd into directory). Have to try it the
next time. 

- Jussi

Paul Bijnens (Paul.Bijnens@xxxxxxxxxxxxxx) kirjoitteli (17.10.2008 13:18):
> I believe you gave a bad example!
> In the command
> 
> rm -rf /var/amavis/tmp
> 
> the argument list is not at all "very long".
> However if you did:
> 
> rm -rf /var/amavis/tmp/*
> 
> then the argument list could be very long depending on the number of
> entries there are in the subdirectory.

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi@xxxxxxxxxxxx * http://www.greenspot.fi

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux