Saving Tail Output In Bash Shell Script To A Variable