Q2
What is the difference between `cp` and `mv` commands?
💬Answer
cp(Copy):- Copies files or directories, meaning the original file stays the same and a duplicate is created.
mv(Move):- Moves files from one location to another or renames files/directories, and the original file is removed from the source location.
Related Linux Questions
View All LinuxQuestions →Q1
Explain what Linux is and why it is widely used in DevOps environments.
Q2What is the Linux kernel and what role does it play in the operating system?
Q3Explain the Linux filesystem hierarchy and the purpose of /etc, /var, /home, /tmp, and /usr.
Q4What happens internally when you run the `ls` command in Linux?

Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio