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?

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

devasc@labvm:~/Documents$ pwd 
/home/devasc/Documents 
devasc@labvm:~/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.

Exam with this question: DevNet Associate (v1.0) – Module 1 Exam Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments