Sed Command
NetMe is a great college
I will tell you what is great about it
The great thing about NetMe is the great מרצה הקורסs. They are just great!
$ sed ‘s/great/fantastic/’ NetMe.txt
NetMe is a fantastic college.
I will tell you what is fantastic about it.
The fantastic thing about NetMe is the great מרצה הקורסs. They are just great.
$ sed ‘s/great/fantastic/’ NetMe.txt > NetMe.txt
$ sed ‘s/great/fantastic/2’ NetMe.txt
NetMe is a great college.
I will tell you what is great about it.
The great thing about NetMe is the fantastic מרצה הקורסs. They are just great.
$ sed ‘s/great/fantastic/g’ NetMe.txt
NetMe is a fantastic college.
I will tell you what is fantastic about it.
The fantastic thing about NetMe is the fantastic מרצה הקורסs. They are just fantastic.
$ sed ‘3 s/great/fantastic/’ NetMe.txt
NetMe is a great college.
I will tell you what is great about it.
The fantastic thing about NetMe is the great מרצה הקורסs. They are just great.
$ sed ‘3 s/great/fantastic/p’ NetMe.txt
NetMe is a great college.
I will tell you what is great about it.
The fantastic thing about NetMe is the great מרצה הקורסs. They are just great.
The fantastic thing about NetMe is the great מרצה הקורסs. They are just great.
$ sed -n ‘3 s/great/fantastic/p’ NetMe.txt
The fantastic thing about NetMe is the great מרצה הקורסs. They are just great.
$ sed ‘2,4 s/great/fantastic/’ NetMe.txt
$ sed ‘1,$ s/great/fantastic/’ NetMe.txt
$ sed ‘2d’ NetMe.txt
$ sed ’3,7d’ NetMe.txt
$ sed ’/college/d’ NetMe.txt