Linux tail Command
What is Linux tail Command?
In this tutorial we learn how to use tail
command in Linux. tail
command is tail - output the last part of files.
tail Syntax
tail [OPTION]... [FILE]...
tail Examples
tail Command Manual / Help
We can use man
and info
command to see the manual page of tail
command. tail
command also have --help
option to show list of options.
To open man page for tail
command we can use command below. To exit man or info page you can press q
.
man tail
To open info page for tail
command we can use command below.
info tail
To open help page from tail
command we can run command below.
tail --help
Linux tail Command Source Code
You can find tail
command source code from the folowing repositories:
- tail source code on GitHub
- tail source code on GNU Savannah cgit
- tail source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use tail
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.