Your current directory should still be cse220-p01. Make dir03 your current directory. Now using one command, copy foo from dir03 to dir01.
Added by Joseph B.
Step 1
Step 1: Change your current directory to dir03 by using the command: ```bash cd dir03 ``` Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 84 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
List the contents of your home directory. Write a script to copy EVERYTHING in your home directory to a directory called "OldStuff". Then redirect the output of the 'ls' command to a file called "mystuff". NOTE: Afterwards, if you run the 'ls' command on your home directory, you should only see the directory "OldStuff". Then, in "OldStuff", you should see all your items from your home directory.
Akash M.
Write a shell script to get the current date, time, username and current working directory. Print output as follows: Hello, <your user name> Current date is <current date> User is <user name> Current directory is < your current directory>
Madhur L.
Create a directory within your assignment's directory named "assignment3". Write the command you used to do this. Go into your assignment3 directory. From within your assignment3 directory, write a single command that will take the sum of 5 + 2 and multiply it by 8. You are to add that to the end of a message that will read "The answer to (5 + 2) * 8 is." That will be outputted to a file named answer1.txt inside your assignment3 directory. Write the command you used here. Staying in the assignment3 directory, write a single command to make a directory named "folders". Write the command here. Staying in the assignment3 directory, write a single command that will make the subdirectories, which will be named from 0001 to 0100, within the folders directory. Write your command here. Staying in the assignment3 directory, write a single command that will create the directory named "I love linux". Write your command here. Staying in the assignment3 directory, write a single command that will change the directory named "I love linux" to have an underscore in between each word. Write your command here. Staying in the assignment3 directory, write a single command that, by using the tab auto-completion, would state the following: "Display all 100 possibilities? (y or n)". Staying in the assignment3 directory, write a single command that will create three directories named a, b, and c that will each contain 5 directories named 50, 51, 52, 53, 54. Write your command here. Staying in the assignment3 directory, write a single command that will list (long style) the folders of directories a, b, and c. Write your command here. Staying in the assignment3 directory, write a single command that will output only the history control and lang values from the variables list. Write your command here. Staying in the assignment3 directory, write a single command that will list all the files and folders within assignment3 using echo. Write your command here. Staying in the assignment3 directory, write a single command that will remove directories a, b, and c and all their subdirectories. Write your command here.
Supreeta N.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD