A metronome swings from side to side rapidly, one side is captioned "Linux is the best thing ever" the other side is captioned "Linux is the stupidest thing ever"
you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 2 months ago* (last edited 2 months ago) (17 children)

For recursive behavior, tell me if each of these requires -r or -R (or either) without looking it up (man page, --help, web, etc):

  • chown
  • cp
  • ls
  • rsync
  • scp
  • zip
  • source
  • parent
  • hideshow 17 child comments
  • [–] 4 points 2 months ago (2 children)

    Oh god oh damn my kde doesn't tell me that...

    Okay I'll give it a whirl:

    • chown: yes, I think
    • cp: no, pretty sure
    • ls: what? Like for a tree? For folder size? Idk I say yes because there's nothing recursive to me about standard ls
    • rsync: literally no clue have never used it but I'd guess no
    • scp: yes pretty confident
    • zip: yes also pretty confident

    The actual reason I barely ever find Linux annoying is because my Fedora KDE just does all I need it to pretty much all the time.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 months ago

    With ls you can list the contents of directories recursively. Or you can list the contents in reverse order. One of them requires a lowercase "r", one requires uppercase, but which is which? It's not such a big deal that different commands have inconsistent syntax, but even having run Linux as my primary OS since 2004, and before that Unix since 1993, I still have to look these up sometimes.

  • source
  • parent
  • [–] 2 points 2 months ago (4 children)

    without looking it up:

    chown -R

    cp -r

    ls -r

    rsync. (idk, i always google this one)

    scp -r

    zip -r

    but why not look it up? you either use a tool and arguments often enough to memorize it, or you don't.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 months ago* (3 children)

    It's not about looking it up or not, it's a challenge to the boasting of the commenter above me in the context of the OP's post.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 months ago (2 children)

    ah yeah that's fair. but also i kinda agree with that person's response. getting frustrated with linux doesnt mean linux sucks, it means you are learning. ive been using linux for over 20 years, and i still find plenty of things that take me out of my element. and that's a good thing.

  • source
  • parent
  • hideshow 2 child comments
  • [+] -1 points 2 months ago* (2 children)
  • load more comments (-1 replies)
  • [–] 2 points 2 months ago* (3 children)

    -R -r -R -r -r -r I think

    I don't know if this is true, but if yes, then -R is a GNU weirdness No wait that doesn't make sense. ls is also GNU.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 2 months ago (2 children)

    Very close! -R, either, -R, -r, -r, -r. I typically think "-R except for ssh-related", but zip violates that and I'm sure there are plenty of other counterexamples too. On the topic of ssh, I still can't keep -p or -P straight (ssh vs scp).

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 months ago*

    funny I never had this specific issue with recursive behavior. I find it obvious that only rsync and zip are recursive by default, but I'm not sure why.

    edit: ah you mean which ones are lowercase or uppercase, that makes more sense.

  • source
  • parent