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

Is ‘du’ a command? If so, what is its use?

1101


What is the search command in unix?

1059


Can you explain a little bit about command substitution?

1066


What is the difference between cat and more command?

1239


What is unix command line?

1191


How do I search for a file in unix command?

986


What is the use of awk command in unix?

1081


What does 'mkdir' command do in UNIX?

1264


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

1157


What is the command to compare two files in unix?

1065


How do I search a whole word in vim?

1142


What is the size of time_t?

1164


What is grep in bash?

1022


What command is used to switching between users in unix?

1037


What is “chmod” command?

1108