Answer Posted / hr@tgksolutions.com
The mv command serves the dual purpose of moving and renaming files or directories. To rename a file, mv old_filename new_filename is used. Similarly, to move a file to a different directory, the format is mv filename target_directory/. The same logic applies to directories. It’s a versatile command that aids in organising and re-structuring file locations and names.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of finger command?
What does the command '$ls | wc –l > file1' do?
how to sort the content of the file based on numeric values
What are file commands?
What do know about tee command?
What is the difference between cat and more command?
Who invented grep?
What is awk good for?
What is ctrl d?
How do I clear my terminal history?
What is .sh file?
What is the command to compare two files in unix?
What is the use of find command in unix?
What is the significance of the 'tee' command?
What is the use of tee command?