Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

bash_aliases 3.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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="python"
  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"
  34. alias route="sudo route"
  35. alias bashrc="vim ~/.bashrc; source ~/.bashrc"
  36. alias rc="vim ~/.bashrc; source ~/.bashrc"
  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/bin/studio.sh"
  74. alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://proxy:9050"
  75. alias clion="~/tools/clion-latest/bin/clion.sh"
  76. alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh"
  77. alias rgsd="killall gnome-settings-daemon; gnome-settings-daemon &"
  78. alias irc='LANG=fr xchat'
  79. alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads"
  80. alias ums4="umount /media/serv4/downloads"
  81. alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R"
  82. alias mfo="time mfoc"
  83. alias git-release="git checkout master && git rebase develop && git p && git checkout develop"
  84. alias arduino="~/tools/arduino-1.6.5-r5/arduino"
  85. alias arduino1.0="~/tools/arduino-1.0.6/arduino"
  86. alias windows="virtualbox --startvm Windows7"
  87. alias gdo="sudo -u git"
  88. alias gdo-pull="gdo git pull -r"
  89. alias cert-check-etc="cert-check /etc/ssl/private $((60 * 60 * 24 * 31))"
  90. alias update-confs="cd ~/confs && git pull -r && reload"
  91. alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"