|
@@ -16,8 +16,8 @@ alias bashaliases="vim ~/.bash_aliases; reload"
|
16
|
16
|
alias ddstatusc="while :; do ddstatus; sleep 2; done"
|
17
|
17
|
alias arpe="arp-scan -I eth0"
|
18
|
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
|
21
|
alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
|
22
|
22
|
alias pull="git pull --rebase"
|
23
|
23
|
alias st="git status"
|
|
@@ -46,8 +46,6 @@ alias vm01="virtualbox --startvm vm01.vpn.rthoni.com"
|
46
|
46
|
alias vm02="virtualbox --startvm vm02.vpn.rthoni.com"
|
47
|
47
|
alias gdo="sudo -u gogs"
|
48
|
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
|
49
|
alias update-confs="cd ~/confs && git pull -r && reload"
|
52
|
50
|
alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
|
53
|
51
|
alias xcopy="xclip -selection clipboard"
|
|
@@ -59,7 +57,7 @@ alias devsd="ls /dev | grep sd"
|
59
|
57
|
alias catlease="cat \$(ps aux | grep dhclient | grep -oE '\-lf [^ ]+' | cut -d' ' -f2)"
|
60
|
58
|
alias prv-mount="cryptsetup luksOpen ~/keep/private_data private_data && mount /dev/mapper/private_data /media/private_data && cd /media/private_data"
|
61
|
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
|
61
|
alias dc="docker-compose"
|
64
|
62
|
|
65
|
63
|
if [ "${EUID}" -ne 0 ]
|
|
@@ -80,6 +78,7 @@ then
|
80
|
78
|
alias apt-cache="sudo apt-cache"
|
81
|
79
|
alias update-rc.d="sudo update-rc.d"
|
82
|
80
|
alias gparted="sudo gparted"
|
|
81
|
+ alias gateway_nat="sudo gateway_nat"
|
83
|
82
|
|
84
|
83
|
alias svim="sudo vim"
|
85
|
84
|
alias shut="sudo shutdown -h 0"
|