Answered step by step
Verified Expert Solution
Link Copied!

Question

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 to Expert-Tailored 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

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

True or False The domain of y = cos 1 x is 1 x 1.

Answered: 1 week ago

Question

TXX5768 Pleaseusethebelowfactstoanswerthenexttwoquesrtions:...

Answered: 1 week ago

Question

why we face Listening Challenges?

Answered: 1 week ago

Question

what is Listening in Context?

Answered: 1 week ago