mirror of https://github.com/CrimsonTome/tldr.git
waldyrious/alt-syntax
commit
d0dee849c2
|
@ -0,0 +1,15 @@
|
|||
# iconv
|
||||
|
||||
> Converts text from one encoding to another
|
||||
|
||||
- convert file and print to stdout
|
||||
|
||||
`iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}`
|
||||
|
||||
- convert file to current locale
|
||||
|
||||
`iconv -f {{from_encoding}} {{input_file}} > {{output_file}}`
|
||||
|
||||
- list supported encodings
|
||||
|
||||
`iconv -l`
|
|
@ -26,3 +26,7 @@
|
|||
- ssh tunneling: forward a specific port (localhost:9999 to slashdot.org:80)
|
||||
|
||||
`ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}`
|
||||
|
||||
- ssh enable agent forward
|
||||
|
||||
`ssh -A {{username}}@{{remote_host}}`
|
||||
|
|
|
@ -22,3 +22,7 @@
|
|||
- extract a bzipped archive in the current directory
|
||||
|
||||
`tar xjf {{source.tar.bz2}}`
|
||||
|
||||
- create a compressed archive, using archive suffix to determine the compression programm
|
||||
|
||||
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
||||
|
|
Loading…
Reference in New Issue