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
Name the various commands that are used for the user information in unix.
What is the pipe command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Which command can you use to find the currently running process in unix server?
How can you see the command line history?
What is awk good for?
Write a command to kill the last background job?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
how to sort the content of the file based on numeric values
What are file commands?
What is the difference between awk and grep?
How does pipe () work?
Name the general commands in using unix os for a beginner?
What is the use of find command in unix?
Give the command for finding the current date.