Linux terminal command -- display file content 1.Cat: display file content as is 2. head: show start Head-n number filename is not added by default-n, show the first 10 rows 3.xxd: hexadecimal display data 4. touch: Create an empty file and modify the file time. less: Display by PAGE LessH: display auxiliary instructions Space: Next page Enter: Next line B: return to the previous page/: Enter search mode: forward? : Search back N: Repeat reverse query n: Repeat forward query <: Jump to Start>: Jump to end 6. tail: tail: Position:/usr/bin/tail contains the Tail command. Standard Syntax: tail [-f] [-c Number |-n Number |-m Number |-B Number |-k Number] [File] Description: The tail command starts the file specified by the parameter is written to the standard output. If no file is specified, standard input is used. The Number variable specifies the Number of units to be written to the standard output. The value of the Number variable can be a positive or negative integer. If the value is preceded by a plus sign, the file is written to the standard output starting with the number of units specified at the beginning of the file. If there is a minus sign before the value, the file is written to the standard output starting from the number of units specified at the end of the file. If no + (plus sign) or-(minus sign) exists before the value, read the file starting from the specified unit number at the end of the file. The Number variable determines the unit type of the start point of the count by the-B,-c,-k,-m, and-n flags. If no flag is specified, the tail command reads the last 10 lines of the specified file and writes it to the standard output. This is the same as entering-n10 in the command line. Example: tail-n 20 notes: output the last 20 lines of tail-c + 200 notes | pg: Starting from 200th bytes, display a page of notes File 7.nl: mark the line number nl/usr/bin to copy the file to stdout, and add the line number l8.od: Display Data Od with octal: /usr/bin is used to view the content of the binary file Od-t c filename: print content Od-t oCc filename: Comparison of the printed content and ASSCi More: one page flip: f displays the current row number