Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. 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.
Copy and paste your shell script
dirl dir4 file4 dir2 dirs link1 From your current directory dir3 file3 file1 file2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started