Exercise SHELL SCRIPTING
$10-30 USD
Paid on delivery
E X E R C I S E
NOTE: Write Shell Script for the following before writing any script make your current directory your home directory (use cd command without argument to do this):
Exercise 5:
1. Determine your login shell and change it to BASH and determine your current path and set it for your home directory. (and if it is already BASH)
2. Use the who command and redirect the result to a file called myfile1 and display the contain of myfile1.
3. Verify that you are in your home directory, make the directory named mydir under your home directory, enter into mydir and verify that you are into the myfile directory.
4. Make a file named testfile under mydir, verify that the file testfile exists and list the contents of the file testfile to the screen.
5. Make a copy of the file testfile with the name secondfile, verify that the files testfile and secondfile both exist, list the contents of both testfile and secondfile to the monitor screen.
6. Delete the file testfile, verify that testfile has been deleted, clear the window.
7. Enter into mydir rename secondfile to thefile, copy thefile to your home directory, remove thefile from the current directory, verify that thefile has been removed.
Project ID: #6824472
About the project
Awarded to:
Hi, I will write this for you in a few minutes. I can also add comments around the code explaining each step.
11 freelancers are bidding on average $19 for this job
Hello, I can write your script in 15 min. Can do it immediately. I want you to create the milestone, before we start. Thanks.
As Salam O Alikum, Brother i can do these mentioned tasks for you. I am currently in Saudi Arabia. Please message me to discuss more about it. These are not shell scripting tasks these are the tasks which need to More
I have more than 1yrs experience in shell scripting. Price is low. Will be delivering script in 1 day. Thanks.
Developed several automation software for data processing, remote backup administration, file handling, different tools for automated reports and alarm system using Shell script. Besides can configure Linux based serve More
Hey,I have already started doing your assignment and i will deliver this project in couple of hours Message me if you are interested :)
Hi. I worked hosting company 4 years. Have experience in the administration of servers Linux, FreeBSD, Cisco etc. I am create scripts on sh, bash partially on perl