Hands-on task
This task is step 4 of the course “Linux: everyday tasks”
Symlink to the freshest log
In /var/log/app there are several logs for different months. Create a symbolic link /root/latest.log to the freshest of them — by modification time (mtime), not by the date in the name.
What you'll practise:
- ln -s
- symlinks
- mtime
- ls -t
- readlink