Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

tail -f linux last 100 lines

tail -f file # Opens file at the end
# Ctrl + "C" to exit
tail -n 10 file # Outputs in terminal last 10 file lines
tail -n +10 file # Outputs file content since 10th line
 
PREVIOUS NEXT
Tagged: #tail #linux #lines
ADD COMMENT
Topic
Name
9+8 =