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

What is the use of finger command?

1216


What does the command '$ls | wc –l > file1' do?

1233


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

1785


What are file commands?

1234


What do know about tee command?

1158


What is the difference between cat and more command?

1297


Who invented grep?

1160


What is awk good for?

1136


What is ctrl d?

1098


How do I clear my terminal history?

1161


What is .sh file?

1185


What is the command to compare two files in unix?

1125


What is the use of find command in unix?

1153


What is the significance of the 'tee' command?

1200


What is the use of tee command?

1161