Skip to content

Instantly share code, notes, and snippets.

@zoechi
zoechi / List open ports
Created May 20, 2013 13:40
List all ports and the apps which are listening (-l listening, -t TCP, -p show process name)
ss -ltp
@zoechi
zoechi / Show DNSMasq log
Created May 20, 2013 13:42
show DNSMasq log
tail -f /var/log/daemon.log
@zoechi
zoechi / debug DNS
Created May 20, 2013 13:45
dig - a DNS diagnosis utility
dig debian.org
@zoechi
zoechi / Services startup settings
Created May 20, 2013 13:46
Edit services startup settings
sysv-rc-conf
@zoechi
zoechi / push
Created May 20, 2013 13:47
push
git push origin master
@zoechi
zoechi / Set origin
Created May 20, 2013 13:48
Set origin
setzen
git remote add origin git@bitbucket.org:bewellup/znote-etc.git
oder
ändern
git remote set-url origin git@bitbucket.org:bewellup/sun-etc.git
git remote set-url --push origin git@bitbucket.org:bewellup/sun-etc.git
@zoechi
zoechi / configure user
Created May 20, 2013 13:50
configure user
git config --global user.name "Günter Zöchbauer"
git config --global user.email gzoechi@gmail.com
@zoechi
zoechi / check SSH
Created May 20, 2013 13:53
check SSH connection/authentication
ssh -t hg@bitbucket.org
oder war es
ssh -Tv hg@bitbucket.org
@zoechi
zoechi / Debian X file manager
Created May 20, 2013 13:56
Debian X file manager
nautilus &
@zoechi
zoechi / list routes
Created May 20, 2013 13:58
list routes
route -nee