Updated: 11 January 2023
Show last 3 lines of a file
tail -n 3 /my/file.cs
Freelance software engineer United Kingdom
Updated: 11 January 2023
Show last 3 lines of a file
tail -n 3 /my/file.cs
Updated: 21 May 2023
Append contents of all matching files to sum.log
cat *.log >> sum.log
Overwrite sum.log with contents of all matching files
cat *.log > sum.log
Updated: 20 April 2023
Open file scrolled to the end:
less +G app.log
+
run a command when the file is openedG
jump to end