Answered step by step
Verified Expert Solution
Question
1 Approved Answer
unix 1. Change the working directory to Desktop. 2. Create directory named Assignment1. 3. Change the working directory to Assignment1 4. Create shell script file
unix
1. Change the working directory to Desktop. 2. Create directory named Assignment1. 3. Change the working directory to Assignment1 4. Create shell script file named "Script1.sh" that takes a name of a file as input and check if the file is exist or not, if exist print the type of the file (i.e., "Directory" or "Normal file") if not exist print "The file doesn't exist".[1 mark] 5. Create shell script file named "Script 2 .sh" that takes a name of a directory as input and crates 10 files inside the created directory with names file1, file2......file10. ". [1 mark] 6. Create shell script file named "Script2.sh" that [1 mark] - Print your user name and your ID - Print the current date - Print the calendar of this month 7. Assign execute and read permissions to the user and group only, of the three files Script1.sh, Script2.sh and Script3.sh using numeric value. [0.5 mark] You have to submit the three script files ("Script1.sh", Script2.sh and Script3.sh) with screenshot that shows the commands you performed in steps 1,2,3 and 7 Step 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