Phạm Khánh Đoan
New member
What is the use of tail command in Unix?
Answer
The tail command is a command-
line utility for outputting the last part of files given to it via standard input
. It writes results to standard output. By default tail returns the last ten lines of each file that it is given. It may also be used to follow a file in real-time and watch as new lines are written to it.
Answer
The tail command is a command-
line utility for outputting the last part of files given to it via standard input
. It writes results to standard output. By default tail returns the last ten lines of each file that it is given. It may also be used to follow a file in real-time and watch as new lines are written to it.