top | item 42149042

(no title)

jbhoot | 1 year ago

Sorry about that! I hand-wrote the whole post on my tablet. More motivation for me to write more legibly next time!

discuss

order

froh|1 year ago

Hi 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|1 year ago

There 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.