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 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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:1f:d0:db:d9:c8"
  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 date="sudo date"
  35. alias route="sudo route"
  36. alias bashrc="vim ~/.bashrc; source ~/.bashrc"
  37. alias rc="vim ~/.bashrc; source ~/.bashrc"
  38. alias restart="shutdown -r 0"
  39. alias dd="sudo dd"
  40. alias ddstatus="sudo pkill --signal USR1 \"^dd$\""
  41. alias ddstatusc="while :; do ddstatus; sleep 2; done"
  42. alias reboot="sudo reboot"
  43. alias teamviewer="service teamviewerd start; teamviewer"
  44. alias stopteamviewer="service teamviewerd stop"
  45. alias mounts2="sudo mount /serv2"
  46. alias umounts2="sudo umount /serv2"
  47. alias mounts4="sudo mount /serv4"
  48. alias umounts4="sudo umount /serv4"
  49. alias cryptsetup="sudo cryptsetup"
  50. alias crypt="cryptsetup"
  51. alias arp-scan="sudo arp-scan"
  52. alias arpe="arp-scan -I eth0"
  53. alias arpw="arp-scan -I wlan0"
  54. alias ping="ping -n"
  55. alias vpnint="service openvpn restart g75-internet"
  56. alias vpnintstop="service openvpn stop g75-internet"
  57. alias vpnepi="service openvpn restart rob-1-epimafia-internet"
  58. alias vpnepistop="service openvpn stop rob-1-epimafia-internet"
  59. alias vpnbe="service openvpn restart g75-betaclean"
  60. alias vpnbestop="service openvpn stop g75-betaclean"
  61. alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
  62. alias pull="git pull --rebase"
  63. alias st="git status"
  64. alias m=make
  65. alias svim="sudo vim"
  66. alias 3d="sudo /etc/3DxWare/daemon/3dxsrv -d usb"
  67. alias u=up
  68. alias p="ping 8.8.8.8"
  69. alias pe="ping epigate.epimafia.fr"
  70. alias telnet='telnet -e ^['
  71. alias gparted="sudo gparted"
  72. alias hopper="LD_LIBRARY_PATH=/opt/hopper-v3/ /opt/hopper-v3/Hopper"
  73. alias reboot-win="grub-reboot 2 && reboot"