Thursday, December 17, 2015

To get the lines between the two pattern in a file in BOSS Linux



To get the lines between the two pattern in a file.txt use the following sed command format



sed -n "/pattern1/,/pattern2/p" file.txt

No comments:

Post a Comment

JMeter JSON Extractor

      json response {"Key1":"Value1","Key2":"Value2","Key2":"Value2"}  Name of t...