tail command code example
Example 1: using tail command in linux
tail -f filename //For seeing Realtime change
tail -n 200 filename // show last 200 lines of a file
Example 2: "tail -n"
With the flag -n | N, the tail command prints out the last N lines of file(s)
tail -n 7 file.txt #Prints first 7 lines of file.txt