Question: . Write a shell script to create a few directories as shown below in your current directory (dir1, dir2, dir3, and dir4 in dir1, dir5

. Write a shell script to create a few directories as shown below in your current directory (dir1, dir2, dir3, and dir4 in dir1, dir5 in dir2), a few files (file1 and file2 in current directory, file4 in dir4, and a soft-link link1 in dir5 (to link to file3).

You are going to create the files and directories in depth-first order. That is, dir1 will be created first, then dir4, and so on. You should create link1 (a softlink to file3) after file3 is created.

. Write a shell script to create a few directories as shown

Copy and paste your shell script

dirl dir4 file4 dir2 dirs link1 From your current directory dir3 file3 file1 file2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!