Open main menu

CDOT Wiki β

Changes

Tutorial11: Sed & Awk Utilities

382 bytes added, 09:09, 19 July 2020
LINUX PRACTICE QUESTIONS
'''Review Questions:'''
# xPart A: Display Results from Using the sed Utility Note the contents from the following tab-delimited file called '''~murray.saul/uli101/stuff.txt''':(this file pathname exists for checking your work) <pre>Line one.This is the second line.# x This is the third.# xThis is line four.# xFive.# xLine six follows# xFollowed by 7# xNow line 8# xand line nine# Create a '''table''' listing each Linux commandFinally, useful options that were mentioned in line 10</pre>  Write the online assignment #1 and command purpose for results of each of the following Linux commands: '''x''for the above-mentioned file. # sed -n ' 3, 6 p'~murray.saul/uli101/stuff.txt<br><br># sed '4 q'x~murray.saul/uli101/stuff.txt<br><br># sed '/the/ d'~murray.saul/uli101/stuff.txt<br><br># sed ' , '''x''' , '''x''' , '''x''' , '''x''' , '''x''' , '''x''' , '''x''' , '''x''s/line/NUMBER/g'~murray.saul/uli101/stuff.txt        
[[Category:ULI101]]
13,420
edits