LoginSignup
5

More than 5 years have passed since last update.

Argument list too longって怒られた

Posted at

株式会社オズビジョン@terra_yuccoです。
久々にライトな記事を。
この記事は随時更新していこうと思います。

Argument list too long

原因

  • コマンドの引数が長すぎる(*などを展開させるとよく起きる)

対処

  • ls -l ./* とかなら、find . -type f | xargs ls -l とすると良い

上限の調べ方

[root@hoge fuga]# getconf ARG_MAX
2097152

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5