Created
March 15, 2026 19:24
-
-
Save justingoldberg/0b5cfa34d60480344f1b8f7b3fe962b9 to your computer and use it in GitHub Desktop.
Bash Function To Create Directory And Change To It In One Step
This file contains hidden or 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
| mcd() { | |
| mkdir -p "$1" && cd "$1" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment