File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010
1111- Upload a file with a POST request:
1212
13- ` lwp-request -m POST {{http://example.com/some/path}} < {{path/to/file }} `
13+ ` lwp-request < {{path/to/file}} -m POST {{http://example.com/some/path}} `
1414
1515- Make a request with a custom user agent:
1616
Original file line number Diff line number Diff line change 3333
3434- Read ` stdin ` and perform an action on every line:
3535
36- ` while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|path/to/file|...}} `
36+ ` cat {{/dev/stdin|path/to/file|...}} | while read line; do {{echo|ls|rm|...}} "$line"; done`
Original file line number Diff line number Diff line change 1414
1515- Write output of specified file to the specified host on the specified port:
1616
17- ` ncat {{address }} {{port }} < {{path/to/file }} `
17+ ` ncat < {{path/to/file }} {{address }} {{port }} `
1818
1919- Accept multiple incoming connections on an encrypted channel evading detection of traffic content:
2020
You can’t perform that action at this time.
0 commit comments