I am new to scripting so I appreiciate any help that I can get. I am under the gun right now and this is the last part to get this to work.
$len is equal to the number of entries in a file minus the newest entry.
I am trying to use my variable of $len in my head command. Something is not right here but I can not figure it out. Maybe I have been beating my head agaist a wall too long that it all looks the same right now.
head -n '-${len}' /usr/local/emc/util/tmp
Any assistance would be appriecaiatd.
$len is equal to the number of entries in a file minus the newest entry.
I am trying to use my variable of $len in my head command. Something is not right here but I can not figure it out. Maybe I have been beating my head agaist a wall too long that it all looks the same right now.
head -n '-${len}' /usr/local/emc/util/tmp
Any assistance would be appriecaiatd.