Like-all 2014-09-08 13:29:37 +04:00
commit d0dee849c2
3 changed files with 23 additions and 0 deletions

15
pages/common/iconv.md Normal file
View File

@ -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`

View File

@ -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}}`

View File

@ -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}}`