Hacker News new | past | comments | ask | show | jobs | submit login

The pics are VERY difficult to read



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


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


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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: