Skip to content

Instantly share code, notes, and snippets.

@NeoTheFox
Last active June 19, 2017 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeoTheFox/c70de4dff27ce5c30fc8 to your computer and use it in GitHub Desktop.
Save NeoTheFox/c70de4dff27ce5c30fc8 to your computer and use it in GitHub Desktop.
#TLP
alias tlp-stat='sudo tlp-stat'
#Get rid of askpass
unset SSH_ASKPASS
#Powertop
alias powertop='sudo powertop'
#Ping
alias ntst='ping 8.8.8.8'
#Sync
alias syncp='sync && watch grep -e Dirty: -e Writeback: /proc/meminfo'
#RepRaptor
alias rraptor='RepRaptor'
#alias lsusb='lsusb -t'
#GRUN
#alias g='grun'
#Copy-paste
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
#Hibernate
alias hibernate='systemctl hibernate'
#Mirrors
alias update-mirrors='sudo reflector --verbose -l 200 -p http --sort rate --save /etc/pacman.d/mirrorlist'
#Systemd
alias stc='sudo systemctl'
alias kernel-reload='sudo kexec -l /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --reuse-cmdline && sudo systemctl kexec'
alias lts-kernel-reload='sudo kexec -l /boot/vmlinuz-linux-lts --initrd=/boot/initramfs-linux-lts.img --reuse-cmdline && sudo systemctl kexec'
#Wifite
alias wifite='sudo wifite'
#Rsync
alias rsync='rsync --progress'
#Vim-like
alias :q='exit'
#Pastebin
alias depaste='pastebinit -b cxg.de'
alias fug='fuck'
#BTRFS
alias btrfs='sudo btrfs'
#.SRCINFO
alias mksrcinfo='makepkg --printsrcinfo > .SRCINFO'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment