Wednesday, January 10, 2018

Unix : Print a Specific Line from a File (sed)

you want to print line number N, where N may be 31 (say)

> sed -n '31p'

When you have time :

https://zwischenzugs.com/2018/01/21/ten-more-things-i-wish-id-known-about-bash/
Sure to be some nuggest you can ues somedya.

Ian also has a book on bash : ($8 max - you could pay less if you want) https://leanpub.com/learnbashthehardway

No comments: