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 is “chmod” command?

0 Answers  


What is the use of cut command in unix?

0 Answers  


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


which command is used to stop a running process in unix?

8 Answers  


How to get the last ten lines of a file using awk utility?

1 Answers   Infosys,


What are bash commands?

0 Answers  


What does this command do? Cat food 1 > kitty

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


What is a Unix signal, and how do you handle them?

2 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


which script will invoke first ,when /etc/init.d starts

1 Answers  


What command a user use to view a long text file one page at a time in UNIX?

8 Answers   IBM,


Categories