#] #] ********************* #] "$d_SysMaint"'Linux/tail - last lines in a file.txt' # www.BillHowell.ca 19Apr2024 initial # view in text editor, using constant-width font (eg courier), tabWidth = 3 #48************************************************48 #24************************24 # Table of Contents, generate with : # $ grep "^#]" "$d_SysMaint"'Linux/tail - last lines in a file.txt' | sed "s|^#\]| |" # #24************************24 # Setup, ToDos, #08********08 #] ??Apr2024 #08********08 #] ??Apr2024 #08********08 #] ??Apr2024 #08********08 #] ??Apr2024 #08********08 #] ??Apr2024 #08********08 #] 19Apr2024 last line in a file +-----+ https://stackoverflow.com/questions/42987486/how-to-read-the-last-line-of-a-text-file-into-a-variable-using-bash tag=$( tail -n 1 history.txt ) answered Mar 23, 2017 at 21:38 eftshift0 >> Howell: see bash "$d_bin"'waitPID test.sh' # enddoc