Horje
grep third line after match Code Example
grep nth line after match
awk 'c&&!--c;/pattern/{c=N}' file
grep third line after match
Include -A flag to add lines after match
grep match -A 3	#display match line and 3 after lines




Shell

Related
chekkout of branch without committing changes Code Example chekkout of branch without committing changes Code Example
grab github api data using a curl command Code Example grab github api data using a curl command Code Example
calculefactorail en bash Code Example calculefactorail en bash Code Example
How to solve the time stamp is in the future error when you unpack a tar file on a system where the clock is behind the system clock on which you created the tar archive Code Example How to solve the time stamp is in the future error when you unpack a tar file on a system where the clock is behind the system clock on which you created the tar archive Code Example
how to install openjdk-8-jdk in kali Code Example how to install openjdk-8-jdk in kali Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12