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.
ls日付の降順で並べ替えるようなことを行う簡単な方法は何ですか? Take(4)ファイル?
ls
使用ls -rt | head -n 4- 時間でソート、反転、最初の 4 行を取得
ls -rt | head -n 4