Last active
January 2, 2016 04:29
-
-
Save madevelopers/8251153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Interactive operation... | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
# Default to human readable figures | |
alias df='df -h' | |
alias du='du -h' | |
# Misc :) | |
alias less='less -r' # raw control characters | |
alias whence='type -a' # where, of a sort | |
alias grep='grep --color' # show differences in colour | |
alias egrep='egrep --color=auto' # show differences in colour | |
alias fgrep='fgrep --color=auto' # show differences in colour | |
# Some shortcuts for different directory listings | |
alias ls='ls -hF --color=tty' # classify files in colour | |
alias dir='ls --color=auto --format=vertical' | |
alias vdir='ls --color=auto --format=long' | |
alias ll='ls -l' # long list | |
alias la='ls -A' # all but . and .. | |
alias l='ls -CF' | |
# Alias 'cygstart' to 'open' just like OSX | |
alias open='cygstart' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment