A user enters the commands as shown. What is the result after the mv command is entered?

Last Updated on February 24, 2021 by Admin

A user enters the commands as shown. What is the result after the mv command is entered?

[email protected]:~/Documents$ pwd
/home/devasc/Documents
[email protected]:~/Documents$ mv myfile.sh ../Desktop/myfile2.sh
  • The file myfile.sh is moved to the /home/devasc/Desktop directory and renamed as myfile2.sh.
  • The file myfile.sh is copied to the /home/devasc/Desktop directory and replaces the file myfile2.sh.
  • The file myfile.sh is copied to the /home/devasc/Desktop directory and renamed as myfile2.sh.
  • The file myfile.sh is copied and renamed to myfile2.sh in the current directory.
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments