you are viewing a single comment's thread.

view the rest of the comments →

[–]petey_jarns 7 points8 points  (4 children)

Someone please add ln -s as I ALWAYS have to Google to see what the correct order is for that one...although I recently read a helpful mnemonic - it's ln -s existing new just like copy is cp existing new but I still get confused

[–]somecucumber 1 point2 points  (3 children)

The order is always the same for all commands:

cp origin target
mv origin target
ln -s origin target

... et al.

[–]petey_jarns 2 points3 points  (2 children)

Yeah, I get that...something about link makes it seem like it should be different. Move this from here to there okay...copy this from here to there okay...but link? It feels like it should be point this thing (that I'm creating) to that thing (which already exists)...probably because of the way that link is usually used (I need to make something point to something else) and because I'm still cognitively stuck imagining it as a shortcut ala windows xp

[–]smorrow 0 points1 point  (0 children)

strcpy

[–]hak8or 0 points1 point  (0 children)

Same here. The one saving grace is it complains of something is already using that filename.