0 of 5 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 5 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
You want to make a copy of a file called “file.txt”. What command do you use?
Create a copy in the same directory
prompt $ file.txt file_copy.txt
Create a copy of the file “file.txt” in a subfolder called sub
prompt $
Create a copy of “file.txt” in the parent directory (remember they are organized hierarchically)
prompt $ file.txt
You want to make a copy of the directory with all its content. What command do you use?
Create a copy of “MyFolder” and all its content in the current working directory:
prompt $ copy_MyFolder
Create a copy of “MyFolder” and all its content inside the subfolder sub:
prompt $
Create a copy of “MyFolder” and all its content in the parent directory:
prompt $
You want to rename a file or directory for a better reference. What command do you use?
Change the name of the file “project.md” to “README.md”:
prompt $
Move the file “README.md” into the subfolder “images”:
prompt $
Move the file “README.md” to the parent folder:
prompt $
Open replit in the Documents folder to do this exercise and answer the questions:
Check your working directory:
prompt $
~/Documents
Create a copy of your favorite recipe in the backup directory:
prompt $ / / backup/
List the directory (backup) to check if it was created
prompt $
my_favorite_recipe.md
Create a copy of Fotos directory in your backup so you don’t loose your trip pictures:
prompt $
List the directory (backup) to check if it was created
prompt $
my_favorite_recipe.md
Fotos
You can open your replit to try it out.
Let’s rename and move files in our folder:
Start in backup as your working directory for this activity
Start creating a folder with today’s date in your backup folder (consider that backup is your working directory):
prompt $ YYYY-MM-DD [example:2023-08-30]
Rename your favorite recipe file to favorite_recipe.md:
prompt $
Move the favorite_recipe.md to the folder you created (YYYY-MM-DD):
prompt $ [YYYY-MM-DD/]
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |