Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のデスクトップには、「file1.txt」という名前のファイルが1つしかなく、次のようなシェルスクリプトを実行します。
$ find . -name "*.txt" > file2.txt
その後、次のように他のシェル スクリプトを実行します。
$ cat file2.txt
その出力は次のとおりです。
./file1.txt ./file2.txt
findということは、ファイル「file2.txt」の作成よりもコマンドの実行が遅れているように見えます。
find