Login using Social Account
     Continue with GoogleLogin using your credentials
mv
command is used to move or rename files and directories. It's syntax is same as cp
, which is:
mv source destination
Create a file myfirstfile.txt
.
nano myfirstfile.txt
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.
Rename myfirstfile.txt
to firstfile.txt
.
mv myfirstfile.txt firstfile.txt
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...