Sed - An Introduction and Tutorial - Welcome to The Grymoire!
Relations between d, p, and ! Sed Range Command Results sed -n 1,10 p Print first 10 lines sed -n 11,$!p Print first 10 lines sed 1,10!d Print first 10 lines sed 11,$ d Print first 10 lines sed -n 1,10!p Print last 10 lines sed -n 11,$ p Print last 10 lin...