How to create multiple text files and directories?

To create multiple files, type all filenames consecutively in one touch command and press Enter. For example, to create "myfile1" and "myfile2" simultaneously, the command would touch myfile1 myfile2.

The Linux/Unix mkdir command allows the user to create or create a new directory. mkdir stands for "make directory." You can also use mkdir to set permissions and simultaneously create multiple directories (folders).

BY Best Interview Question ON 23 Dec 2022