Monthly Archives: October 2014

shred a hard drive

If you want to destroy all data on a device use the following command. shred is part of the coreutils package. /usr/bin/shred -v -f /dev/sda Data destroyed by shred can’t be restored unless you invest a lot of time and … Continue reading

Posted in Debian | Comments Off on shred a hard drive

git: set new origin

In case the URL of your remote git repository has changed, update your local repository as follows: git remote set-url origin git@server:path/to/repository.git  

Posted in git | Comments Off on git: set new origin