I can grab the first line w/ sed how do you grab the last line of a file?
Hope this helps:
sed -n '$p'
tail -1 file
I can grab the first line w/ sed how do you grab the last line of a file?
Hope this helps:
sed -n '$p'
tail -1 file