This are Linux questions
What command can I use to record a shell session and append the output into a file?
What command can I use to display the last 20 lines of a file?
What command can I use to sort a file is ascending numerical order where smaller digit number will occur before larger digit number?