Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - When linux operates on multiple files, the parameters you entered are too long. If the configuration file is modified to increase the length of the parameter table
When linux operates on multiple files, the parameters you entered are too long. If the configuration file is modified to increase the length of the parameter table
When using rm, cp, mv and other commands to process a large number of files, there are usually error reports caused by long parameters. And wc -l should be fine.

There is no command in linux that can set the length of the parameter longer. There are just too many parameters, and the shell sees a long command line.

However, xargs is a good tool anyway:

Cd & ltmydir & gt# change to the destination first.

Find it. *.DAT | xargs wc -l #

Respondent: Manager Lubnam, Grade 5 10-23 02:58

Reply added:

What are the mistakes in the test? It should be ok to post it and have a look. It should be ok under Linux, regardless of whether it works under HP.

In addition, if mget is used in ftp, there will be errors due to too many files. Let's see if it can be packed in tar first.