13
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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
13
5
0

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
13
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?