Artificial Intelligence (AI) & Machine Learning Course for ManagersEnroll Now
mv command is used to move or rename files and directories.
Question- Rename a file
Create a file myfirstfile.txt
Add the text "a clever fox" into the editor and press "control+x" followed by "y" to save
rename myfirstfile.txt to firstfile.txt
mv myfirstfile.txt firstfile.txt
Taking you to the next exercise in seconds...