Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you move or rename a file or directory?

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


Please Help Members By Posting Answers For Below Questions

Name the various commands that are used for the user information in unix.

1046


What is the pipe command?

1142


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1175


Which command can you use to find the currently running process in unix server?

1092


How can you see the command line history?

1103


What is awk good for?

1108


Write a command to kill the last background job?

1052


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1173


how to sort the content of the file based on numeric values

1742


What are file commands?

1191


What is the difference between awk and grep?

1179


How does pipe () work?

1059


Name the general commands in using unix os for a beginner?

1108


What is the use of find command in unix?

1104


Give the command for finding the current date.

1070