Tuesday, November 15, 2011

wget from behind proxy hwo to?


First you need to edit /etc/bash.bashrc file
gksudo gedit /etc/bash.bashrc
Add your proxy server details in the following format
export http_proxy=http://username:password@proxyhost:port/
export ftp_proxy=http://username:password@proxyhost:port/
Save and exit the file
Update the source list and you can restart your system
sudo apt-get update

rsync with delete option and different ssh port

How to rsync e.g PIPELINE dir from Source to Destination? #rsync -avzr   --delete-before  -e "ssh -p $portNumber"  /local...