Skip to content

Unix terminal command for creating a directory and moving into that directory in the same command

Notifications You must be signed in to change notification settings

jonathanlinford/mkcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mkcd

Unix terminal command for creating a directory and moving into that directory in the same command.

Setup

Download the mkcd.sh file and place in a directory. Add the following line to your ~/.bashrc file (or ~/.bash_profile if running mac):

. ~/<insert-path-to-directory>/mkcd.sh

When you've saved that, run the following command, or simply restart the terminal (replacing ~/.bashrc with ~/.bash_profile for mac):

source ~/.bashrc

Running

To run the program, enter the following command:

mkcd name-of-new-file

About

Unix terminal command for creating a directory and moving into that directory in the same command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages