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 .sh file?
What is the comma to display different lines that are found when compare two files?
Is ‘du’ a command? If so, what is its use?
What does grep v do?
How do I run a whois command?
What is the function of grep command in unix?
What is time_t?
What is the first character of the output in ls l command?
What command will change your prompt to myprompt?
What command is used to switching between users in unix?
What is the use of awk command in unix?
What is grep r?
How to use grep command to list find the records of a file containing 10 different strings?
How does pipe () work?
How do I use grep to search for a file?