awk command explained with practical examples part -2
awk command explained with practical examples part -2
awk command is powerful tool as we learned few awk command / scripting methods in before article, in this article i am going to explain few more. Let’s see what are they
1. How to replace Nth occurrence of matched pattern using awk command
For this example we are going to use below mentioned file content. We are going to replace 3rd occurrence of ‘SSSS’ with ‘YYYY’.
[root@TechTutorial ~]# cat…
View On WordPress











