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 .sh file?

1111


What is the comma to display different lines that are found when compare two files?

1087


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

1095


What does grep v do?

1004


How do I run a whois command?

1099


What is the function of grep command in unix?

1108


What is time_t?

1058


What is the first character of the output in ls l command?

1159


What command will change your prompt to myprompt?

1253


What command is used to switching between users in unix?

1029


What is the use of awk command in unix?

1071


What is grep r?

1047


How to use grep command to list find the records of a file containing 10 different strings?

1090


How does pipe () work?

1043


How do I use grep to search for a file?

1013