Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

196 bytes added, 09:33, 4 September 2020
Using the sed Utility
'''Examples:'''
 
<pre style="font-family:courier;font-weight:bold">
sed -n '3 p' text.txt (print 3rd line)
sed -n '1-5 p' text.txt (print lines 1 to 5)
sed -n '4,7 p' text.txt (print only lines 4 and 7)
</pre>
===Using the awk Utility===
13,420
edits

Navigation menu