tail -n 10 abc
tail filename
will do that for you
The tail command can be used to output the last part of a text file. The default is to show the last 10 lines of a file and options are available to override this.
it displays the ribbon tab
Tail command is used to display the last lines of the file.Syntax:tail -n 3 file1-n 3 = no. of linesfile1 = filename
more command
The "sort" command.
The 'cat' command is typically used for this purpose, although there are numerous varieties of this command that may do similar things.
The 'head' command can only deal with the start of the file, not the end. If you want X number of lines at the end of the file then use the 'tail' command. tail -5 filename will list the last 5 lines of the contents of filename.
command box
file attrib
DSGET
The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command. The simplest utility for viewing file content in the Linux Terminal, (Terminal as command promt also called DOS in Windows) its called the file command.
Assuming that the file you are looking at is a columnar file you can use the 'cut' command, as in 'cut -c1-2 filename'