Search code examples
EXAMPLE-A
linux
shell
awk
command-line-interface
Print the last line of a file, from the CLI
How to print just the last line of a file?
Solution
$ awk 'END{print}' file
Originally answered by
Ventero
Close Ad