tail is to display the last lines of the content of a file; the
usage is relatively simple;
tail -n is the numerical file name of the line; for
example, if we display the last 5 lines of /etc/profile, it should be:
[root@localhost ~]# tail -n 5 /etc/profile
tail -f /var/log/syslog Display the last ten lines of the syslog file and automatically display the new file content after the file content is added.
How to view file contents in linux
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327027926&siteId=291194637
Recommended
Ranking