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 difference between cat and more command?
What is the general format of unix command syntax?
What does the command '$ls | wc –l > file1' do?
Differentiate cmp command from diff command.
How do you repeat a command in terminal?
What does grep v do?
What is command substitution?
What do chmod command do?
What does #!/ Bin sh do?
What is the use of the tee command?
What is the command to view process running?
What is the command to find hidden files in the current directory?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is the use of finger command?
Which command will print your home directory on screen?