Is it just me, or is copying then removing the old file a hassle? Why doesn't Linux have a built in rename command for single files / directories?
linux 107 Posting Shark
Recommended Answers
Jump to Postyeah mv
Jump to Postswitches can change that
Jump to PostNo, thats actually exactly wrong.
The mv command does not make a new file. Period. The datablocks holding the information remain unchanged. All that happens is that the entry in the directory file that holds the inode information is copied to the new directory, and then the inode information …
All 10 Replies
eggi 92 Posting Whiz
eggi 92 Posting Whiz
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
majestic0110 187 Nearly a Posting Virtuoso
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
eggi 92 Posting Whiz
omrsafetyo 3 Junior Poster in Training
linux commented: Wow, lots of information. Thanks. +3
eggi 92 Posting Whiz
omrsafetyo 3 Junior Poster in Training
eggi 92 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.