Question: Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Write a bash script
Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Write a bash script to ask the user to enter the first part file name and the number of files he/she wants to create. Use the "touch" command to quickly create empty files. Also how would I execute the script in terminal. Please help me understand how to do this step by step.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
