Will513r / command-line-VWC

1 stars 0 forks source link

Copy, move, and delete files using `cp`, `mv`, and `rm` #8

Open Will513r opened 1 year ago

Will513r commented 1 year ago

Ticket: Copy, Move, and Delete Files Using cp, mv, and rm.


Summary

Learn how to copy, move, and delete files and directories using the cp, mv, and rm commands in a Unix-like operating system.


Description


Learning Tasks

  1. Copy Files with cp:

    • Study the basic syntax and everyday use cases of the cp command.
  2. Move Files with mv:

    • Learn how the mv command moves files and directories.
  3. Delete Files with rm:

    • Understand how to safely use the rm command for file and directory removal.
  4. Explore Options and Flags:

    • Familiarize yourself with commonly used options like -r for recursive operations or -f for forcing actions.
  5. Best Practices and Warnings:

    • Be aware of the potential risks and learn how to use these commands responsibly.
  6. Troubleshooting:

    • Identify common issues you might encounter and learn how to resolve them.

Learning Goals


Priority

Will513r commented 1 year ago

The CP command or copy is a way to make copies of files so you can have redundant storage of files or to copy into other parts of the storage. The MV command or move is a way to move files to different directory's. and lastly the RM command or remove this is how you delete files from a directory. Since you are using the terminal, you need to be careful when using this command as it can easily remove the wrong file if you're not careful if you do try checking the recycling bin or use windows file recovery.

tupleHunden commented 1 year ago

LGTM 👍🏻