The first pattern means "the current line is 8th" and the second pattern means "the current line is 12th". Remove the interval between lines 7 and 9: sed '7,9d' filename. If you want to remove only the packages, not the dependencies, just run: $ sudo rpm -e -nodeps `dnf list installed | grep zyga-snapcore | awk '' This one-liner may or may not work.Brighten their day off? Basic allowance for loan my mother wakes me every hour to go. In the following example, we will use the sed command regular expression to check whether the current line is blank. Awk remove last 2 lines The symbol $0 shall refer.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |