Websitetemplate.org

Welcome > Linux > sed Magic > sed: To print one line of text

sed: To print one line of text

sed -n "${INDEX}p" filename
(where INDEX is the line #)

Content Copyright 2003-2014 George Toft