Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
-
The problem statement, all variables and given/known data:
Do the procedure, which if there are 5 parameters then it creates 4 directories with names of 4 parameters, in those directories it creates files with the same name, and in those files, the fifth parameter must be saved. -
Relevant commands, code, scripts, algorithms:
for
if -
The attempts at a solution (include all code and scripts):
for k in 1,2,3,4
do
if $# -eq=5
then
mkdir $5>$k/$k
else
echo blablabla
fi
done
- Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
AGH,Cracow,Poland
Please, help me i don't know what to do.