7 ms·
Sorry about that! I hand-wrote the whole post on my tablet. More motivation for me to write more legibly next time!
by jbhoot 2y ago
Sorry about that! I hand-wrote the whole post on my tablet. More motivation for me to write more legibly next time!
- froh 2y agoHi bhoot, you have a section on "cp", where you note plain "cp" copies the contents of the linked-to file. there also is an option "cp --archive" which copies the symlink as such. also someone else pointed out you may want to add man 7 inode man 7 symlink man 7 path_resolution
- jbhoot 2y agoThere is also "cp -P". My purpose for the I/O sub-section was only to have a convenient logic of memorising how I/O operations work on soft links by default. Memorising techniques don't really gun for technical accuracy. However, I have struck it out because the logic is also blatantly inaccurate and has been rightly called out here.