Print the last line of a file, from the CLI March 28, 2023 by Tarik $ cat file | awk 'END{print}' Originally answered by Ventero