I am trying to get a specific line from a text file.
So far, online I have only seen stuff like sed, (I can only use the sh -not bash or sed or anything like that).
You could use sed -n 5p file.
sed -n 5p file
You can also get a range, e.g., sed -n 5,10p file.
sed -n 5,10p file