Skip to content

Instantly share code, notes, and snippets.

@Erhannis
Last active February 14, 2026 01:01
Show Gist options
  • Select an option

  • Save Erhannis/44cbf2670d83fc07654c0d8d1ec515c7 to your computer and use it in GitHub Desktop.

Select an option

Save Erhannis/44cbf2670d83fc07654c0d8d1ec515c7 to your computer and use it in GitHub Desktop.
Bash aliases
alias ll='ls -alF'
alias la='ls -A'
alias lt='ls -laFtr'
alias l='ls -CF'
alias em='emacs -nw'
alias KILL='kill -s KILL'
alias KILLALL='killall -s KILL'
alias KF='KILLALL firefox /snap/firefox/current/usr/lib/firefox/firefox'
alias sshno='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
alias JAVA='java -Xmx8G -Xms8G -jar'
alias xpaste='xclip -selection c -o'
alias xcopy='xclip -selection c -i'
alias QUIET='killall -s KILL "/usr/bin/gjs-console" "updatedb.mlocate" "/usr/bin/updatedb.mlocate" "tracker-store" "tracker-miner-fs"'
alias QUIETALL='killall -s KILL "/usr/bin/gjs-console" "updatedb.mlocate" "/usr/bin/updatedb.mlocate" "tracker-store" "tracker-miner-fs" "firefox" "/usr/lib/firefox/firefox" "Web Content" "skypeforlinux"'
alias PAUSE='killall -s SIGTSTP'
alias UNPAUSE='killall -s SIGCONT'
alias ds='du -xchs * | sort -h'
alias math='orpie'
alias LAST="ls -Atr | tail -n 1"
alias diff1='cat > /tmp/d1'
alias diff2='cat > /tmp/d2 ; diff /tmp/d1 /tmp/d2'
alias absolute='realpath -s'
alias gitserve='git daemon --reuseaddr --base-path=. --export-all --verbose --enable=receive-pack --port=9418 --listen=127.0.0.1'
alias where='whereis'
alias timestamp='date +%Y%m%d_%H%M%S'
alias lcsc='easyeda2kicad --full --lcsc_id'
alias TIO='tio --map ICRNL,INLCRNL'
alias PATH='readlink -f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment