Month: July 2011

vim remotely edit using scp/sftp/ftp/rsync etc.

Posted by – July 22, 2011

Here:
http://vimdoc.sourceforge.net/htmldoc/pi_netrw.html#netrw

e.g.:
vim scp://jinlab.com// path/to/file

ssh login without enter password/passphrase every time.

Posted by – July 21, 2011


http://www.ibm.com/developerworks/library/l-keyc2/
http://www.gentoo.org/doc/en/keychain-guide.xml
http://vimdoc.sourceforge.net/htmldoc/pi_netrw.html#netrw-ssh-hack

Keychain:
http://docs.funtoo.org/wiki/Keychain

Perl install module from CPAN

Posted by – July 20, 2011

For example:

perl -MCPAN -e ‘install File::List’
Or:
1. perl -MCPAN -e  shell # to enter into perl install module command line
2. Enter:
install File::List

[jin@jinlab]$ sudo perl -MCPAN -e shell

[jin@jinlab]$ sudo perl -MCPAN -e shellTerminal does not support AddHistory.

cpan shell — CPAN exploration and modules installation (v1.7601)ReadLine support available (try ‘install Bundle::CPAN’)
cpan>