Post AxkXdaZEHmITvikJwu by [email protected] | |
More posts by [email protected] | |
Post #AxjggWXqOzLCkkc2y0 by [email protected] | |
0 likes, 1 repeats | |
If you're new to the Unix or Linux command line, I just want you to know:Me… | |
Post #AxjhA9OT2gLzddLztI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft And which way the arguments go. Target first or target last? I neve… | |
Post #AxjhUYX3HtrTOa6DOi by [email protected] | |
0 likes, 0 repeats | |
@nixCraft if anyone here has any mnemonic to remember this stuff... ^^ | |
Post #AxjhtYEBYXkjgvC2BU by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Naaaa, it's quite easy, if I may:Use -s if you want a symbolic li… | |
Post #AxjiGZ0Mphb8lIheGO by [email protected] | |
0 likes, 0 repeats | |
@nixCraft This struck me as odd for a few reasons.1. The main confusion with ln… | |
Post #AxjiZEB0UqZtfLZyym by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I always have to remember the options for `ln`, and I've been usi… | |
Post #AxjipGJYJe1yvhDqIi by [email protected] | |
0 likes, 0 repeats | |
@nixCraft remember that if you dont give a second argument, it will link with t… | |
Post #Axjk8Xmrg0Z0Zogu4u by [email protected] | |
0 likes, 0 repeats | |
@grefeng @nixCraft from/to will mess your brain. It's ln [-s] <mandatory… | |
Post #AxjkCu2St5TIkO4Asa by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Mine is "why isn't 'bc -l' the default?" | |
Post #AxjkGHkfBE0h9zLvHs by [email protected] | |
0 likes, 0 repeats | |
@glitzersachen @nixCraft +1 | |
Post #AxjkGWB3XtRNttoCMy by [email protected] | |
0 likes, 0 repeats | |
@NK30 @glitzersachen @nixCraft me too. If I stop to think about it I always get… | |
Post #AxjkKZN7btEQy0NsWW by [email protected] | |
0 likes, 0 repeats | |
@lemgandi @nixCraft it’s as same as cp or mv: source target | |
Post #AxjkMcF1udDiRgZi2i by [email protected] | |
0 likes, 0 repeats | |
@nixCraft `cp -s` and `cp -l` are easy to remember and share argument order wi… | |
Post #AxjkNgeqyf5oQtAGSO by [email protected] | |
0 likes, 0 repeats | |
@_hic_haec_hoc @NK30 @nixCraft My phrase to remember is "same argument ord… | |
Post #AxjkNsHBmTIGSyBXEm by [email protected] | |
0 likes, 0 repeats | |
@BillJelavich @nixCraft too late, it's in my motoric memory | |
Post #AxjkUTOmfnODKxssMK by [email protected] | |
0 likes, 0 repeats | |
@bonkers @nixCraft Mine motoric memory is egrepthe youngs just laugh at me, but… | |
Post #Axjka2AsnyGMdl295c by [email protected] | |
0 likes, 0 repeats | |
@nixCraft hmmm, always use ln -s and you're safe - no confusion, no "o… | |
Post #AxjkrL004M7DwjC6b2 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft my muscle memory always adds the ' -s' to ln. If the result i… | |
Post #AxjmZ0wg5aXeRm1y40 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft useradd vs adduser - have to read up, EVERY SINGLE TIME! | |
Post #Axjmz4gEpFafYklenQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I will never be able to remember the order of parameters for `ln`I ha… | |
Post #AxjphhtAbt73oSE6yG by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I ALWAYS have to precede an actual `ln` command with `ln --help` 🤯 | |
Post #Axjr0Bt1uxyI12XSXQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft omg, so true. I think I need to add whoever wrote it to the list of &… | |
Post #AxjrUMwFOLGCypQwoS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft ha same 🤣 | |
Post #AxjrnMzVQ7oWe41BRI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft i feel seen ☺ | |
Post #Axjrv2l6Wl7oDEwP4q by [email protected] | |
0 likes, 0 repeats | |
@nixCraft alias softlink="ln -s"alias hardlink-like-i-mean-it="l… | |
Post #Axjs8bfs1Ve6GXxbBA by [email protected] | |
0 likes, 0 repeats | |
Many of the Linux shell commands are syntactically disorganized, unstructured a… | |
Post #AxjtnGlclDDhFabZKa by [email protected] | |
0 likes, 0 repeats | |
@nixCraft user@host $ tldr ln | |
Post #AxjuRd2TNFLFuNjLxQ by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I know "-s" means "soft" but I always think of it… | |
Post #Axjv3Reo8glnc3h48e by [email protected] | |
0 likes, 0 repeats | |
@nixCraft "recursive":chmod and chown: -Rcp: -r or -Rscp: -r🤬🤬�… | |
Post #AxjvLkx98Wpufc0Eng by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I settled many years ago on “just use `ln -s` and if it doesn't… | |
Post #AxjwphUYfYP2ZrTPEm by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Phew! I thought it was just me. | |
Post #AxkHCF6gMuiqHoKdjU by [email protected] | |
0 likes, 1 repeats | |
@nixCraft Simple solution: Always use -sIt is not like you should have to use … | |
Post #AxkI551bYQsgwe6arA by [email protected] | |
0 likes, 0 repeats | |
@nixCraft "ls" is typed with six backspaces. | |
Post #AxkXdaZEHmITvikJwu by [email protected] | |
0 likes, 0 repeats | |
@nixCraft 25+ years of using Unix and Linux and I have never once used ln witho… | |
Post #AxkhECFkXzqap5AJs0 by [email protected] | |
0 likes, 1 repeats | |
@nixCraft https://xkcd.com/1168/Obligatory XKCD. | |
Post #AxkmdNiJZbP3NVM41I by [email protected] | |
0 likes, 0 repeats | |
@nixCraft ah, so it’s not just a local problem 🫢 | |
Post #Axmub6arRVcDeQDKDI by [email protected] | |
0 likes, 0 repeats | |
@nixCraft Relatable | |
Post #AxvTpVALvlwjZk5uy0 by [email protected] | |
0 likes, 0 repeats | |
@[email protected] I always have problem remembering whether it's ln… | |
Post #AxvTprR788QSe66c9A by [email protected] | |
0 likes, 0 repeats | |
@hakona , don't get me wrong, the docs are great. It is my brain that is at… | |
Post #AxvTqb6TLDFMHOnmMK by [email protected] | |
0 likes, 0 repeats | |
@glitzersachen @nixCraft The way I remember this is that the last path is the o… | |
Post #AxvTqbEypa3IhmmZcW by [email protected] | |
0 likes, 0 repeats | |
Whenever I copy, link, or move to a directory foo (keeping the name), I make th… | |
Post #AxvTqbMmMaI55yQnmC by [email protected] | |
0 likes, 0 repeats | |
@vnikolov @drahardja @nixCraft Does it make any difference for cp? | |
Post #AxvTrVAIu9aO9V1d6e by [email protected] | |
0 likes, 0 repeats | |
Indeed.Making hard links has been a rare case for a long time.@obot50549535 @ni… | |
Post #AxvTrnJpPTtqSFcUS0 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft @rk But isn't it possible to invoke it as ln SOURCE -s TARGET? :3c | |
Post #AxvTrxhwmf8OfwytQu by [email protected] | |
0 likes, 0 repeats | |
@lemgandi @nixCraft i struggled with that until i read somewhere that the order… | |
Post #AxvTsFxquGYJIUYqiu by [email protected] | |
0 likes, 0 repeats | |
@lemgandi @nixCraft same as cp | |
Post #AxvTsV7yWuYwKEPe5I by [email protected] | |
0 likes, 0 repeats | |
@nixCraft nobody has replied with https://xkcd.com/1168/ yet? | |
Post #AxvTshefx9qlB7nvii by [email protected] | |
0 likes, 0 repeats | |
You are right to ask,but I have this instead of a direct answer:As far as I am … | |
Post #AxvTskeQoWRATEiHFw by [email protected] | |
0 likes, 0 repeats | |
@BillJelavich @nixCraft auto indentation in vi is cringe, don't you agree | |
Post #AxvTstD6zSvp1705QG by [email protected] | |
0 likes, 0 repeats | |
@Slater450413 @nixCrafttar -cf archive.tar * tar -xf archive.taror perhaps more… | |
Post #AxvTtD3DDyteYCWSlk by [email protected] | |
0 likes, 0 repeats | |
@glitzersachen This, every single time. | |
Post #AxvTtQ7wbhPF6dpvRw by [email protected] | |
0 likes, 0 repeats | |
@obot50549535 I also used to have the same problem with the argument ordering u… | |
Post #AxvTtbQQbJjA99ZLHs by [email protected] | |
0 likes, 0 repeats | |
Mnemonic:copy/link/move from to@donutman @nixCraft | |
Post #AxvTu0H4DG5tDMNifQ by [email protected] | |
0 likes, 0 repeats | |
@_hic_haec_hoc @glitzersachen @nixCraft Thinking?I look into the man pageeverys… | |
Post #AxvTu1wE1ibwNIe6SW by [email protected] | |
0 likes, 0 repeats | |
@bonkers @nixCraft On Fridays before three day weekends I like to start some ta… | |
Post #AxvTuBTWZHavxBIK6y by [email protected] | |
0 likes, 0 repeats | |
@glitzersachen @nixCraft I think of it like cp. | |
Post #AxvTubrWSgEvn8ir7w by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I can't think of a time that I've ever really used `ln` for h… | |
Post #AxvTunMlgqllTEQSrA by [email protected] | |
0 likes, 0 repeats | |
@lemgandi @nixCraft I don't think I've ever used it successfully withou… | |
Post #AxvTusbUDYVtiKLmzY by [email protected] | |
0 likes, 0 repeats | |
@nixCraft How I think about these two is to use ln -s for folders, or if the li… | |
Post #AxvTvga8Or8oic6PpI by [email protected] | |
0 likes, 0 repeats | |
@glitzersachen @nixCraft came here to say this |