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 are the dos commands?

1267


How does shebang work?

1077


What is the command to view process running?

1116


What do chgrp command do?

1229


Explain command to display different lines that are found when compare two files?

1184


What are bash commands?

1173


Name the unix command to find how many days the server has been up.

1167


What does grep v grep do?

1087


How to display no of records in oracle using unix command?

1176


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

1790


Explain command to view process running?

1146


How do I find previous commands in unix?

1195


What do know about tee command?

1170


What is unix command line?

1267


What is used to type command?

1066