Page 1 of 1

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

Posted: Sat Nov 27, 2021 2:23 pm
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.