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

How to interact with the non-interactable Web Elements in Selenium

How to interact with the non-interact able Web Elements in Selenium    // Find the non-interactable element element WebElement element = dr...