Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Ask the user to

Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Ask the user to enter the first part file name and the number of files he/she wants to create. Hint: you may use the touch command to quickly create empty files. Take two screenshots: a) Display the source code in an editor (#4-1) b) Execute your script in the terminal, and display the command and the result (#4-2) 9. Write a script to create the following directory structure in a directory of users choice. The user can supply the directory of choice as an argument; if missing, prompt the user to enter one from the command line. Take two screenshots: a) Display the source code in an editor (#4-3) b) Execute your script in the terminal, and display the command and the result (#4-4)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

TXX5768 Pleaseusethebelowfactstoanswerthenexttwoquesrtions:...

Answered: 1 week ago