Skip to content

Instantly share code, notes, and snippets.

@ramimassoud
Created August 21, 2011 03:39
Show Gist options
  • Save ramimassoud/1160077 to your computer and use it in GitHub Desktop.
Save ramimassoud/1160077 to your computer and use it in GitHub Desktop.
Snapshot of my current global aliases
# -*- mode: shell-script; -*-
alias eamcs='emacs';
alias celar='clear';
alias cp='cp -i';
alias mv='mv -i';
alias rm='rm -i';
alias hg='history|grep';
alias exity='exit'
alias update='sudo apt-get check && sudo apt-get update && sudo apt-get upgrade &&
sudo apt-get dist-upgrade && sudo apt-get autoclean'
alias qupdate='sudo apt-get -qq check && sudo apt-get -qq update && sudo apt-get -qq upgrade &&
sudo apt-get -qq dist-upgrade && sudo apt-get -qq autoclean'
alias search='sudo apt-cache search'
alias about='sudo apt-cache showpkg'
alias install='sudo apt-get install'
alias get='sudo apt-get'
alias c='clear'
alias cl='clear'
alias cd..='cd ..'
alias l='ls -l --color=tty' # ls shows details by default
alias ls='ls -l --color=tty' # ls shows details by default
alias la='ls -a' # list both hidden and non-hidden items
alias l.='ls -d .[a-zA-Z]* --color=tty' # list hidden files only
alias lf='ls `find . -type f -name \* -maxdepth 1 | sed "s/.\///"`' # list files only
alias lw='ls -C --color=tty' # list wide
alias more='less'
alias mroe='less' # I are a dummy
alias grpe='grep' # Ditto
alias p='pwd'
alias pico='nano -w -r75' # Disables wordwrap by default, sets manual wrap column to 75
alias tial=tail
alias screen='screen -U'
alias edit='emacs ~/.bashrc && source ~/.bashrc'
alias hdd='watch -n 1 df'
alias targz='tar -pczf'
alias untar='tar xvf'
alias got='git' #Herp Derp
alias tardir='tar -cvzf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment