Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.