Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/common/lwp-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- Upload a file with a POST request:

`lwp-request -m POST {{http://example.com/some/path}} < {{path/to/file}}`
`lwp-request < {{path/to/file}} -m POST {{http://example.com/some/path}}`

- Make a request with a custom user agent:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/read.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@

- Read `stdin` and perform an action on every line:

`while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|path/to/file|...}}`
`cat {{/dev/stdin|path/to/file|...}} | while read line; do {{echo|ls|rm|...}} "$line"; done`
2 changes: 1 addition & 1 deletion pages/linux/ncat.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- Write output of specified file to the specified host on the specified port:

`ncat {{address}} {{port}} < {{path/to/file}}`
`ncat < {{path/to/file}} {{address}} {{port}}`

- Accept multiple incoming connections on an encrypted channel evading detection of traffic content:

Expand Down
Loading