Question
Directory /Project1 was created in /home/ubuntu. Im not sure if my coding inside the script is correct. Help pls. 1.In the Project1 directory create a
Directory /Project1 was created in /home/ubuntu. Im not sure if my coding inside the script is correct. Help pls.
1.In the Project1 directory create a file called script3.sh
2.Edit the script3.sh file to do the following:
1.Create a new file called example1.txt in Project1/
2.Add the following text This file was created on [insert date and time]. to example1.txt
3.Run command Sleep for 30 secs
4.Add a variable called name and set it to your first name
5.Add I am [name] and I added this line at [date and time above]. to example1.txt
3.Run script3.sh to test for functionality
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