1 )  mv  : To rename file

    E.g. To rename file "example.py" to "file 2.py"

    mv space "file name" space "new name"

    mv   " example.py "   " file 2.py "


2 )  mv  : To move file 

    E.g. To move file "file 2.py" to directory "Swapnil"

    mv  space  "file name"  space  folder_path

    mv  file 2.py "  e://Pankaj/Swapnil


There are 2 shortcut ways ...


1 ) Next Directory / folder = Use dot " . " 

E.g. To move file "file 2.py" to next directory "Swapnil"

      mv  space  "file name"  space . / "Folder  name"


      mv  file 2.py " . /Swapnil




2 ) Previous Directory / folder = Use double dot " . . " 

E.g. To move file "file 2.py" to Previous directory "Swapnil"

      mv  space  "file name"  space . / "Folder  name"

      mv  file 2.py " . .



3 )  cp  : To copy file 

     Same as above move command.