• To print a particular line say (16th line ) including some text
    By : Senthil Murugan ( Mon May 15 04:50:41 2006 )

    perl -ne 'print "Line 16: $_" if $. == 16' filename.txt

    Return to article...



    UNIXguide.net
    English to Cebuano Dictionary
    Suggest a Site
    Cebuano to English Dictionary