How to create a directory and give permission in single command in Linux?
I have to create lots of folder with full permission 777
.
mkdir path/foldername
chmod 777 path/foldername
I don't like to create and give permission in two commands. Can I do this in single command?