Search This Blog

Wednesday, February 15, 2012

linux, ubuntu command, to move a file from one folder to other folder

To move files from one folder to other folder use 'mv' command.

For example:

To move file_1, file_2 from Trial_1 folder to Trial_2 folder use the following commands in terminal.


sada@titan:~/Trial_1$ ls
        file_1  file_2  Trial_2
sada@titan:~/Trial_1$ mv file_1 file_2 Trial_2/

sada@titan:~/Trial_1$ ls
      Trial_2

No comments:

Post a Comment