Some times you need some specific range of lines from a file and the commands 'head' and 'tail' are not enough for you. This could be a easy solution for this problem.
- # show from line 12 to line 23
- sed -n '12,23 p' archivo.txt
- # or just one (line 15)
- sed -n 15p archivo.txt
You need to login to post a comment.