cd -
dpkg --get-selections \* > package.list
dpkg --set-selections < package.list dselect update apt-get dselect-upgrade
echo "<package> hold" | dpkg --set-selections
COLUMNS=160 dpkg -l
perl -i.bak -pe 'if (/^Status: [^\s]+ ([^\s]+) ([^\s]+)/) { $_="Status: ".($2 eq "installed" ? "install" : "purge")." $1 $2\n"}' /var/lib/dpkg/status
Duplicity is a backup utility which provides incremental, encrypted, network backups using the rsync algorithm, scp/ftp/rsync as a transfer mechanism, and support for gpg.
git config --global user.name "Tom Hoover" git config --global user.email tom@hisword.net git config --global color.diff auto git config --global color.status auto git config --global color.branch auto git config --global alias.ci commit git config --global alias.co checkout
cd project git init git add . git commit
cd .. # must be outside project directory git clone --bare ./project project.git scp -r project.git example.com:public
git push ssh://example.com/home/username/public/project.git
OR, you can add the following lines to your .gitconfig file, and then "git push example.com":
[remote "example.com"]
url = ssh://example.com/home/username/public/project.git
screen -ls
screen -DR
cat ~/.ssh/id_dsa.pub | ssh myname@mydomain.org "cat - >> .ssh/authorized_keys"
ssh -X <host> -l <user> xterm -e mutt