Print the 10th line without using tail and head command.

sed –n ‘10p’ file1

Category: Shell Scripting Interview Questions.