選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

bash_aliases 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 -h 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 vpnbe="service openvpn restart g75-betaclean"
  58. alias vpnbestop="service openvpn stop g75-betaclean"
  59. alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3"
  60. alias pull="git pull --rebase"
  61. alias st="git status"
  62. alias m=make
  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"