Created
March 28, 2013 09:06
-
-
Save vishaltelangre/5261793 to your computer and use it in GitHub Desktop.
Some long commands' shortcuts I often use
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
# 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