that has the same behaviour as the system command tail code example
Example: tail lines file
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
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