Learning Bash-Shell Commands-Tutorial-3

1. mv command : It is used for file from one directories to another.You have to first enter the file_name(that you want to move) and then the new location of that file. SYNTAX : mv filename new_location rk10@rk-desktop:~/Desktop/log$ ls passwd.txt rk10@rk-desktop:~/Desktop/log$ cd ../ rk10@rk-desktop:~/Desktop$ cd test rk10@rk-desktop:~/Desktop/test$ ls login.txt  xyz.txt rk10@rk-desktop:~/Desktop/test$ mv login.txt /home/rk10/Desktop/log rk10@rk-desktop:~/Desktop/test$ …