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?



How do you move or rename a file or directory?..

Answer / 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

More Unix Commands Interview Questions

What do know about tee command and its usage?

0 Answers  


What is sed awk grep?

0 Answers  


How do you execute a UNIX command in the background?

6 Answers  


How do you create a directory in UNIX?

1 Answers  


why metadb requires a seperate slice to create Solaris volume manager

0 Answers   Wipro,


How do I use grep to find a file?

0 Answers  


Give the command for finding the current date.

0 Answers  


How do you move or rename a file or directory?

1 Answers  


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

0 Answers  


How do I search for text in vi?

0 Answers  


How to copy multiple files and directories into some other directory?

4 Answers  


What command is used to replace the existing string with some other?

8 Answers   TCS,


Categories