get the most recent file in directory shell
Published at 2024-05-11
Last update over 365 days ago
Licensed under CC BY-NC-SA 4.0
softwares-and-tools
unix-cli
ls
get the most recent file in directory shell
ls -t | head -n 1
Published at 2024-05-11
Last update over 365 days ago
Licensed under CC BY-NC-SA 4.0
softwares-and-tools
unix-cli
ls
ls -t | head -n 1