Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bashで一番最新のファイルの中身を表示するワンライナー。絶対パスの部分は適宜変更すること
ls -t /home/username/hogehoge/log | head -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment