BASH:/usr/bin/ls: Parameter or environment list too long

Source: Internet
Author: User

Event triggering

Check the host space usage found/var/spool/mail/*** use space reached 100%, that is, * * * user mail is full, of course, this does not affect business normal operation "business has independent space storage", view/var/spool/mail/*** content is, The following error was found:

BASH:/usr/bin/ls: Parameter or environment list too long


After the online collection of data and test to find the following reasons:

Cause: After testing, the file directory in the number of eligible files can be listed in 800, more than 800, will be reported too long error parameter list.


So be aware that in the shell in the "LS * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This article is from the "Guardian" blog, please be sure to keep this source http://shouhouzhe.blog.51cto.com/2351955/1685468

BASH:/usr/bin/ls: Parameter or environment list too long

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.