Enrollments Open for Certification Course on Artificial Intelligence and Deep Learning by IIT Roorkee

  Apply Now

Linux Basics

19 / 85

Move Files & Directories

mv command is used to move or rename files and directories.

  1. Create a file myfirstfile.txt.

    nano myfirstfile.txt
  2. Add the text a clever fox into the editor and press control+x, followed by y, and then enter to save the file and come out of the nano editor.

  3. Rename myfirstfile.txt to firstfile.txt.

    mv myfirstfile.txt firstfile.txt

No hints are availble for this assesment

Answer is not availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...