On this page you find all important commands for the CLI tool tail. If the
command you are looking for is missing please ask our AI.
tail
tail is a program available on Unix, Unix-like systems, FreeDOS and MSX-DOS used to display the tail end of a text file or piped data.
List of commands for tail:
-
apache2:logs:access:show Show the last entries of the Apache2 access log.$ tail -n ${number_of_lines} /var/log/apache2/access.logtry on your machineexplain this command
-
apache2:logs:error:show Show the last entries of the Apache2 error log.$ tail -n ${number_of_lines} /var/log/apache2/error.logtry on your machineexplain this command
-
file_manipulation:warp:eef3b Remove the first line of a text file$ tail -n +2 "$${file_name}"try on your machineexplain this command
-
goaccess:tldr:8bb79 goaccess: Analyze a log from `stdin`.$ tail -f ${path-to-logfile} | goaccess -try on your machineexplain this command
-
svcs:tldr:b9a97 svcs: Display end of a service log file.$ tail $(svcs -L apache)try on your machineexplain this command
-
system:log:follow:multiple The command 'tail -f' is used to continuously monitor logs and display any new changes.$ tail -f ${path_to_main_directory}/**/*.logtry on your machineexplain this command
-
tail:tldr:3a9c7 tail: Print a file from a specific line number.$ tail --lines +${count} ${filename}try on your machineexplain this command
-
tail:tldr:48a53 tail: Show last 'count' lines in 'file' and refresh every 'seconds' seconds.$ tail -n ${8} -s ${10} -f ${filename}try on your machineexplain this command
-
tail:tldr:54aad tail: Print the last lines of a given file and keep reading file until `Ctrl + C`.$ tail -f ${filename}try on your machineexplain this command
-
tail:tldr:5aeb0 tail: Keep reading file until `Ctrl + C`, even if the file is inaccessible.$ tail -F ${filename}try on your machineexplain this command
-
tail:tldr:5dffb tail: Show last 'count' lines in file.$ tail -n ${8} ${filename}try on your machineexplain this command
-
tail:tldr:603ea tail: Keep reading file until `Ctrl + C`, even if the file is inaccessible.$ tail --retry --follow ${filename}try on your machineexplain this command
-
tail:tldr:67262 tail: Show last 'num' lines in 'file' and refresh every 'n' seconds.$ tail --lines ${count} --sleep-interval ${seconds} --follow ${filename}try on your machineexplain this command
-
tail:tldr:7a9b8 tail: Print a specific count of bytes from the end of a given file.$ tail --bytes ${count} ${filename}try on your machineexplain this command
-
tail:tldr:890ed tail: Show last 'count' lines in file.$ tail --lines ${count} ${filename}try on your machineexplain this command
-
tail:tldr:8a348 tail: Print a file from a specific line number.$ tail -n +${8} ${filename}try on your machineexplain this command
-
tail:tldr:a1af0 tail: Print a specific count of bytes from the end of a given file.$ tail -c ${8} ${filename}try on your machineexplain this command
-
tail:tldr:b159c tail: Print the last lines of a given file and keep reading file until `Ctrl + C`.$ tail --follow ${filename}try on your machineexplain this command