This post was published long ago, when I was a student and an amateur blogger. The links might be outdated and content may not be useful anymore. Please read this content keeping its age in mind.

Subject : System Software Laboratory

Branch : Information Science & Engineering

Semester : 6

University : VTU

[Click Here to get other programs by email ]

………………………………………………………………………………………………………………………….
PART -B

………………………………………………………………………………………………………………………….

  1. a) Shell script that accepts path names and creates all the components in that pathnames as directories. For example, if the script name is
    mpe, then the command mpe a/b/c/d should create directories a, a/b, a/b/c, and a/b/c/d.

v1=echo $* |tr "/" " "
echo $v1
for i in $v1
do
mkdir $i
cd $i
done

[Click Here to get other programs by email ]