see last 100 lines file linux code example
Example 1: see total space available in shell
df -hx squashfs --total
Example 2: show date linux
date +"%d-%m-%y"
Example 3: tail 100 lines
tail -100 <log file> > newLogfile
df -hx squashfs --total
date +"%d-%m-%y"
tail -100 <log file> > newLogfile