# Example usage: for dir in */; do mkdir -- "$dir"/{dir1,dir2,dir3}; done # This creates directories dir1, dir2, and dir3 in all directories # found in the current directory.