in commands changed ### to #### for better heading
This commit is contained in:
parent
e0b837bdb7
commit
5ebf471c7c
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Commands that can be used for reading and manipulating files
|
Commands that can be used for reading and manipulating files
|
||||||
|
|
||||||
### tail
|
#### tail
|
||||||
|
|
||||||
`tail` by default reads the last 5 lines of the input file and then exits
|
`tail` by default reads the last 5 lines of the input file and then exits
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ Commands that can be used for reading and manipulating files
|
|||||||
| -n *x* | Returns the last x lines of a file |
|
| -n *x* | Returns the last x lines of a file |
|
||||||
| -f | Follows the end of the file, so any new data will be printed out to the screen |
|
| -f | Follows the end of the file, so any new data will be printed out to the screen |
|
||||||
|
|
||||||
### head
|
#### head
|
||||||
|
|
||||||
`head` by default reads the first 5 lines of the input file and then exits
|
`head` by default reads the first 5 lines of the input file and then exits
|
||||||
|
|
||||||
@ -21,11 +21,11 @@ Commands that can be used for reading and manipulating files
|
|||||||
| ------------- |:-------------|
|
| ------------- |:-------------|
|
||||||
| -n *x* | Returns the first x lines of a file |
|
| -n *x* | Returns the first x lines of a file |
|
||||||
|
|
||||||
### awk
|
#### 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)
|
`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
|
||||||
|
|
||||||
`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
|
`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
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ Commands that can be used for reading and manipulating files
|
|||||||
| -i | In-place, writes the changes to the file |
|
| -i | In-place, writes the changes to the file |
|
||||||
| -f | Use a script file instead of reading the expression from STDIN |
|
| -f | Use a script file instead of reading the expression from STDIN |
|
||||||
|
|
||||||
### grep
|
#### grep
|
||||||
|
|
||||||
`grep` is used to match text in a file,
|
`grep` is used to match text in a file,
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ Commands that can be used for reading and manipulating files
|
|||||||
|
|
||||||
Some examples of grep usage can be found [here](/examples/grep)
|
Some examples of grep usage can be found [here](/examples/grep)
|
||||||
|
|
||||||
### lsof
|
#### lsof
|
||||||
|
|
||||||
`lsof` is a command that will show you what processes have specified file open currently you can see an example [here](/examples/lsof)
|
`lsof` is a command that will show you what processes have specified file open currently you can see an example [here](/examples/lsof)
|
||||||
|
|
||||||
@ -57,4 +57,4 @@ Some examples of grep usage can be found [here](/examples/grep)
|
|||||||
|
|
||||||
These commands can be used to manipulate data in the standard input
|
These commands can be used to manipulate data in the standard input
|
||||||
|
|
||||||
### rev
|
#### rev
|
||||||
Loading…
x
Reference in New Issue
Block a user