Skip to content

Instantly share code, notes, and snippets.

@eporroa
Created February 16, 2014 17:37
Show Gist options
  • Save eporroa/9037741 to your computer and use it in GitHub Desktop.
Save eporroa/9037741 to your computer and use it in GitHub Desktop.
# Global
alias l='ls -lah' # Long view, show hidden
alias ls='ls -GFp' # Compact view, show colors
alias la='ls -AF' # Compact view, show hidden
alias ll='ls -lFh' # Long view, no hidden
alias grep='grep --color=auto' # Always highlight grep search term
alias ping='ping -c 5' # Pings with 5 packets, not unlimited
alias df='df -h' # Disk free, in gigabytes, not bytes
alias du='du -h -c' # Calculate total disk usage for a folder
alias ..='cd ..' # Go up one directory
alias ...='cd ../..' # Go up two directories
alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'"
alias clr='clear;echo "Currently logged in on $(tty), as $(whoami) in directory $(pwd)."'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment