Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions