Hi there,
I know in Unix, the head command can be used to show the first few lines of a file. However, what if we want to show only a specific line of it. Say if we wanted to show line 5 of a file named test.txt, is there any command that does this?
Hi there, i'm tryng to write a script for this command.
Do you know how I can embed the $1 argument into the sed command?
My command will be something like:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.