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

IT Questions BankCategory: DevNetA user enters the commands as shown. What is the result after the mv command is entered?
A user enters the commands as shown. What is the result after the mv command is entered? 1ITExamAnswers Staff asked 3 months ago

Question:
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 copied 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 and renamed to myfile2.sh in the current directory.
  • The file myfile.sh is moved to the /home/devasc/Desktop directory and renamed as myfile2.sh.

More Questions: DevNet Associate (v1.0) – Module 1 Exam Answers


Related Articles