Translated message

A translation of this page exists in English.

120,000 行以上の結果を出力するコマンドで環境変数を設定すると ksh シェルがハングする

Solution Unverified - Updated -

Issue

ksh-20120801-10.el6_5.3 で以下のコマンドを実行すると最低 1 時間は結果が返ってきません。

$ FILES=`find /usr/include -type f`
  • ここでは、大量のファイルを取得しているようです。
$ find /usr/include -type f |wc -l
10002

Environment

  • Red Hat Enterprise Linux 6
  • ksh-20120801-10.el6_5.3.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content