Write shell script, which First Script: a) creates a directory b) In the directory create 1100 files with different name

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write shell script, which First Script: a) creates a directory b) In the directory create 1100 files with different name

Post by answerhappygod »

Write shell script, which
First Script:
a) creates a directory
b) In the directory create 1100 files with different names The
format of the file name: aXb.txt, Where X is a number.
c)Read the number entered by the user.
d)Store the files with the user specified number in the environment
variable.
e) runs second script
Second script:
a) displays the directory content and the number of files in
it.
b) delete the files which names were stored in the environment
variable.
c) displays the directory content and the number of files in
it.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply