Skip to content

Instantly share code, notes, and snippets.

@vishaltelangre
Created March 28, 2013 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vishaltelangre/5261793 to your computer and use it in GitHub Desktop.
Save vishaltelangre/5261793 to your computer and use it in GitHub Desktop.
Some long commands' shortcuts I often use
# Make and cd into directory
mcd() {
mkdir -p "$1" && cd "$1";
}
# Find text in any file
ft() {
find . -name "$2" -exec grep -il "$1" {} \;
}
# (this file will be updated frequently)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment