您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

bash_aliases 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 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 m=make
  64. alias svim="sudo vim"
  65. alias 3d="sudo /etc/3DxWare/daemon/3dxsrv -d usb"
  66. alias u=up
  67. alias p="ping 8.8.8.8"
  68. alias pe="ping epigate.epimafia.fr"
  69. alias telnet='telnet -e ^['
  70. alias gparted="sudo gparted"
  71. alias hopper="LD_LIBRARY_PATH=/opt/hopper-v3/ /opt/hopper-v3/Hopper"
  72. alias reboot-win="grub-reboot 2 && reboot"