ITEC 325 Towson University Create a Three Shell Scripts Linux Programming Task Script 1: Perform a ls -al on the files within the user’s home directory an
ITEC 325 Towson University Create a Three Shell Scripts Linux Programming Task Script 1:
Perform a ls -al on the files within the user’s home directory and save it to a file called ls.dat within your ~ directory
Save the tree information for the /home directory in a file called tree.dat within your ~directory
Create a new directory in your home directory called “backups”
Move the files you just created to the new directory
Rename the files that you just moved to “ls.bu” and “tree.bu”.
Script 2:
Ask the user for their name
Create a file called “daily.dat” within the home directory
Ask the user for a line of text that the system should save to the file
Add to the file the line of text entered by the user
Ask the user for a second line of text that the system should save to the file
Append at the end of the file the line of text entered by the user
Create a copy of the file in the directory “backups” within the home directory, renaming the file daily.bu.
Script 3:
Ask the user for a file’s name
If the file exists, ask them if they would like to (C)opy, (M)ove, or (D)elete it by choosing C, M, or D
If the user chooses C, ask for the destination directory and move it there
If the user chooses M, ask for the destination directory and move it there
If the user chooses D, delete the file.
For Script 3 ensure that the user enters only C, M, or D, warning them about the mistake if they should enter something else.
You will turn in three shell scripts named “Script1.sh”, “Script2.sh”, and “Script3.sh”.
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.