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
Is ‘du’ a command? If so, what is its use?
What is the search command in unix?
Can you explain a little bit about command substitution?
What is the difference between cat and more command?
What is unix command line?
How do I search for a file in unix command?
What is the use of awk command in unix?
What does 'mkdir' command do in UNIX?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the command to compare two files in unix?
How do I search a whole word in vim?
What is the size of time_t?
What is grep in bash?
What command is used to switching between users in unix?
What is “chmod” command?