mirror of
https://github.com/cheat/cheat.git
synced 2025-09-03 02:28:29 +02:00
Update and some new examples
* Update a mistake in ifconfig * Add example for a SOCKS proxy in ssh * Add an example for mounting a NFS dir in mount * Add a description for git blame * Add some examples in grep * Add example for specifing an interface in dhclient * Add a description for apt-get install * Add some commands in apt-cache * Add an example of pretty printing jsons using python
This commit is contained in:
@ -13,5 +13,8 @@ ssh -X user@example.com
|
||||
# To launch a specific x application over SSH:
|
||||
ssh -X -t user@example.com 'chromium-browser'
|
||||
|
||||
# To create a SOCKS proxy on localhost and port 9999
|
||||
ssh -D 9999 user@example.com
|
||||
|
||||
# For more information, see:
|
||||
# http://unix.stackexchange.com/q/12755/44856
|
||||
|
Reference in New Issue
Block a user