mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 03:56:28 +08:00
Minor fixes for brevity and organization.
This commit is contained in:
parent
2a18e53e6f
commit
92ef5bd205
1 changed files with 4 additions and 4 deletions
|
@ -128,9 +128,8 @@ Scope:
|
|||
- For interaction with files based on the output of another command (like `git`), use `fpp` ([PathPicker](https://github.com/facebook/PathPicker)).
|
||||
|
||||
- For a simple web server for all files in the current directory (and subdirs), available to anyone on your network, use:
|
||||
```
|
||||
python -m SimpleHTTPServer [port]
|
||||
```
|
||||
`python -m SimpleHTTPServer 7777` (for port 7777 and Python 2).
|
||||
|
||||
|
||||
## Processing files and data
|
||||
|
||||
|
@ -318,6 +317,8 @@ A few examples of piecing together commands:
|
|||
|
||||
- `nc`: network debugging and data transfer
|
||||
|
||||
- `ngrep`: grep for the network layer
|
||||
|
||||
- `dd`: moving data between files or devices
|
||||
|
||||
- `file`: identify type of a file
|
||||
|
@ -390,7 +391,6 @@ A few examples of piecing together commands:
|
|||
|
||||
- `fortune`, `ddate`, and `sl`: um, well, it depends on whether you consider steam locomotives and Zippy quotations "useful"
|
||||
|
||||
- `ngrep`: grep for the network layer
|
||||
|
||||
## More resources
|
||||
|
||||
|
|
Loading…
Reference in a new issue