Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 1
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPrevious
Next Section
3. Using Linux commands
  


mv page 15 of 15


Now, let's use the mv command to rename "copiedme" to "movedme". The inode number will remain the same; however, the filename that points to the inode will change.


$ mv copiedme movedme
$ ls -i movedme
  648284 movedme

A moved file's inode number will remain the same as long as the destination file resides on the same filesystem as the source file. We'll take a closer look at filesystems in Part 3 of this tutorial series.


Next Section
Main menuSection menuFeedbackPrevious
PrivacyLegalContact