$ cd /tmp
$ wget https://gist.githubusercontent.com/rbecheras/f90e2844c32acbf84ecf10187c1834e9/raw/ed44b447ff9af292eb00bbacc5766c809a6228a9/mkcd-function.sh
$ cp mkcd-function.sh $HOME/.mkcd-function.sh
$ file=$HOME/.mkcd-function.sh
$ echo "if [[ -f $file ]]; then include $file; fi" >> $HOME/.bashrc
$ exit
$ mkcd --help
Usage : mkcd [OPTIONS] [PATH]
Use 'mkdir -p' to create a directory then 'cd' into it
Options:
-h, --help Afficher l'aide
$ pwd
/home/developer
$ mkcd foo/$(date +%F)/$(uuidgen)
$ pwd
/home/developer/foo/2018-03-29/4d2ecbb5-7737-4bdf-8aba-30cf4e303c57