Search found 1 match

by Brutus
Sat Feb 03, 2018 5:52 am
Forum: Scripts & Bash
Topic: how do I create a file within a directory at the same time?
Replies: 4
Views: 1566

how do I create a file within a directory at the same time?

Hi guys
quick question
I know how to make multiple directories at the same time, for example...

mkdir -p tree/{dir1,dir2,dir3}

but how do I do that and put a file in those directories at the same time?

thanks

Go to advanced search