mkdir -p path && touch path/to.txtを一発で行うエイリアス 2025/5/13 ~/.bashrc mkfile() { mkdir -p "$(dirname "$1")" && touch "$1"; }