23 lines
642 B
Markdown
23 lines
642 B
Markdown
#Commands
|
|
|
|
##Files
|
|
###tail
|
|
`tail` by default reads the last 5 lines of the input file and then exits
|
|
|
|
|
|
###awk
|
|
`awk` is used to extract, layout and modify data using the command line (It is way more then this but its all I use it for)
|
|
|
|
###sed
|
|
`sed` is the '**S**tream **ED**itor' you can use to to modify files via commands and scripts using patterns, an [example](examples/seddnszone.md) can be seen here
|
|
|
|
|
|
| Useful Flags | Function |
|
|
| ------------- |:-------------|
|
|
| -i | in-place, writes the changes to the file |
|
|
| -f | Use a script file instead of reading the expression from STDIN |
|
|
|
|
|
|
###grep
|
|
|
|
###rev |