Browse Source

removed useless aliases

master
Robin Thoni 8 years ago
parent
commit
5b3b0dedeb
1 changed files with 4 additions and 5 deletions
  1. 4
    5
      bash/bash_aliases

+ 4
- 5
bash/bash_aliases View File

16
 alias ddstatusc="while :; do ddstatus; sleep 2; done"
16
 alias ddstatusc="while :; do ddstatus; sleep 2; done"
17
 alias arpe="arp-scan -I eth0"
17
 alias arpe="arp-scan -I eth0"
18
 alias arpw="arp-scan -I wlan0"
18
 alias arpw="arp-scan -I wlan0"
19
-alias vpnint="service openvpn restart g75-internet"
20
-alias vpnintstop="service openvpn stop g75-internet"
19
+alias vpnint="service openvpn restart gigi-vpn-internet"
20
+alias vpnintstop="service openvpn stop gigi-vpn-internet"
21
 alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
21
 alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
22
 alias pull="git pull --rebase"
22
 alias pull="git pull --rebase"
23
 alias st="git status"
23
 alias st="git status"
46
 alias vm02="virtualbox --startvm vm02.vpn.rthoni.com"
46
 alias vm02="virtualbox --startvm vm02.vpn.rthoni.com"
47
 alias gdo="sudo -u gogs"
47
 alias gdo="sudo -u gogs"
48
 alias gdo-pull="gdo git pull -r"
48
 alias gdo-pull="gdo git pull -r"
49
-alias cert-check-etc="cert-check /etc/ssl/private $((60 * 60 * 24 * 31))"
50
-alias cert-renew-all-etc="cert-renew-all /etc/ssl/private $((60 * 60 * 24 * 31))"
51
 alias update-confs="cd ~/confs && git pull -r && reload"
49
 alias update-confs="cd ~/confs && git pull -r && reload"
52
 alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
50
 alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
53
 alias xcopy="xclip -selection clipboard"
51
 alias xcopy="xclip -selection clipboard"
59
 alias catlease="cat \$(ps aux | grep dhclient | grep -oE '\-lf [^ ]+' | cut -d' ' -f2)"
57
 alias catlease="cat \$(ps aux | grep dhclient | grep -oE '\-lf [^ ]+' | cut -d' ' -f2)"
60
 alias prv-mount="cryptsetup luksOpen ~/keep/private_data private_data && mount /dev/mapper/private_data /media/private_data && cd /media/private_data"
58
 alias prv-mount="cryptsetup luksOpen ~/keep/private_data private_data && mount /dev/mapper/private_data /media/private_data && cd /media/private_data"
61
 alias prv-umount="umount /media/private_data && cryptsetup luksClose private_data"
59
 alias prv-umount="umount /media/private_data && cryptsetup luksClose private_data"
62
-alias ssh-socks="ssh -N -D 127.0.0.1:1080"
60
+alias ssh-socks="ssh -N -D 127.0.0.1:9050"
63
 alias dc="docker-compose"
61
 alias dc="docker-compose"
64
 
62
 
65
 if [ "${EUID}" -ne 0 ]
63
 if [ "${EUID}" -ne 0 ]
80
   alias apt-cache="sudo apt-cache"
78
   alias apt-cache="sudo apt-cache"
81
   alias update-rc.d="sudo update-rc.d"
79
   alias update-rc.d="sudo update-rc.d"
82
   alias gparted="sudo gparted"
80
   alias gparted="sudo gparted"
81
+  alias gateway_nat="sudo gateway_nat"
83
 
82
 
84
   alias svim="sudo vim"
83
   alias svim="sudo vim"
85
   alias shut="sudo shutdown -h 0"
84
   alias shut="sudo shutdown -h 0"

Loading…
Cancel
Save