Open Will513r opened 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.
LGTM 👍🏻
Ticket: Copy, Move, and Delete Files Using
cp,
mv,
andrm.
Summary
Learn how to copy, move, and delete files and directories using the
cp,
mv,
andrm
commands in a Unix-like operating system.Description
Objective: Understand and practice the basic file operations—copying, moving, and deleting—using the
cp,
mv,
andrm
commands.Scope:
cp,
mv,
andrm.
Learning Tasks
Copy Files with
cp
:cp
command.Move Files with
mv
:mv
command moves files and directories.Delete Files with
rm
:rm
command for file and directory removal.Explore Options and Flags:
-r
for recursive operations or-f
for forcing actions.Best Practices and Warnings:
Troubleshooting:
Learning Goals
Priority