tac(1)

# Reverse output lines of file(s) and concatenate (reverse of cat).
tac FILE [FILE]

echo -e 'aa\nbb\ncc\ndd' | tac
# dd
# cc
# bb
# aa