Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # some often used bash aliases
- # typically summoned by ~/.bashrc for login shells
- alias ~='cd ~'
- alias ..='cd ..'
- alias cp='cp -iv'
- alias df='df -h'
- alias du='du -h'
- alias l='ls -ah --color=auto'
- alias la='ls -lah --color=auto'
- alias ll='ls -lh --color=auto'
- alias ls='ls -h --color=auto'
- alias mv='mv -iv'
- alias rm='rm -iv'
- #rsync usefulness suite
- alias rsmv='rsync -ahP --remove-sent-files ' #doesn't clean up emptied directories.
- alias rscp='rsync -ahP '
- # similarity testing
- alias rsdry='rsync -ahPn ' # Performs simple size/date comparisons
- alias rscompare='rsync -ahPcn ' # Performs (expensive) checksum comparisons
- alias where='type -all' #held over since years, no reason to remove, I guess.
- alias which='type -path' #held over since years, no reason to remove, I guess.
- alias screens='ps afx | grep SCREEN;echo;echo "##########";echo;screen -ls #'
- alias mp3shrink='lame -m m --abr 80' #typically for a portable player
- alias fdupes='fdupes -rnA'
- # auto-sudo
- alias zfs='sudo zfs '
- alias zpool='sudo zpool '
- alias zdb='sudo zdb '
- alias dd='sudo dd status=progress bs=4M '
- alias dmesg='sudo dmesg '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement