sign in
Home | Updates | Pages | Users | Admin | Help

shelltips

ZSH

some geeky zsh prompt (not like Phil’s prompt ), but still pretty useful:
PS1="[%B%n%b@%m:%h] - [%~]%$ " 
RPS1="[%D %T]" 
looks like:
[user@machine:112]-[~/www]>               [04-10-28 7:00]

SSH dynamic port forwarding with SOCKS

ssh -fND3125 host.example.com

In order to make use of the SOCKS proxy, you can either use applications which can speak SOCKS natively, or you can use a socksifier program like tsocks. For example starting thunderbird:

tsocks thunderbird

Powered by JunebugWiki v0.0.31 Page last edited by stoyan on December 18, 2006 05:09 PM (diff)
[readonly] Version 2 (current) «olderversions