top 67 comments

sorted by: hot top controversial new old
[–] 134 points 2 months ago (26 children)

unzip, strip, top, less, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep.

  • source
  • hideshow 26 child comments
  • [–] 39 points 2 months ago (11 children)
  • [–] 20 points 2 months ago (8 children)

    I changed the $ in bash to § because fuck capitalism, keep your currency out of my free software

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

    How will you escape $var usage in scripts though :P

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

    I've... never had to do that. What does it do?

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

    bash uses $ character to indicate variables. for example, you can see your current environment variables with the env command. then to see a specific variable echo $var to print its value.

    scripts may call variables for a variety of reasons. one common case would be collecting information from the environment it's running under to determine whether it's compatible.

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

    Oh. Oh yeah, I have done that. Like for adding the date to a file name when I dump a terminal output to into a text file, or adding hit counts to a custom notification after running a scan on a cron job.

    I just use the character for that. It's fine, can't win them all, but it's better than having it at the beginning of every command line for seemingly no reason

  • source
  • parent
  • hideshow 1 child comment
  • [–] 16 points 2 months ago (8 children)
  • [–] 31 points 2 months ago (2 children)

    I'm gonna tie you too the radiator, and grep you in the mouth for decades, and decades, and decades!

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

    It's a command line tool, used to search and filter text. According to wikipedia it stands for "global regular expression print", which I never knew til today. Essentially, you give it some input text and a regular expression, and grep outputs all the parts of the input that match the regular expression. For example, if I run the command cat server_logs.log | grep ERROR* on my server, grep will print out all the lines in server_logs.log that have the word "ERROR", filtering out all the "WARN" and "INFO" logs.

    * The | character is called a pipe, and it's used to pass the output of one command line utility to another. In this example, the command line tool cat prints out the entire text of the file server_logs.log, and that output is then passed as an input to the next utility, grep, who filters it and outputs the filtered result. Piping is unnecessary in this case; in fact I have heard it rather upsettingly referred to as cat abuse, but that's how my fingers remember how to filter files so I thought I'd present it as I wrote it.

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

    ...

    https://lemmy.world/search?q=grep&type=All&listingType=All&creatorId=531839&page=1&sort=TopAll&titleOnly=false

    I'm familliar with grep, thank you. Although you did something good for people who don't know.

    I mean more, what's grep innuendo for? The others are fairly obvious.

  • source
  • parent
  • hideshow 2 child comments
  • Oh, hahaha. Well, I'm glad you liked it in that case. I've been practicing my hand at writing little impromptu social-media sized explainers for technical concepts, and It's good to get some knowledgeable feedback.

    I've always assumed the joke was that it sounded like "grope", and I always thought it was a loose fit for this joke. A bit of a reach, if you will.

  • source
  • parent
  • load more comments (1 reply)
  • [–] 68 points 2 months ago (19 children)

    Don't forget all the master/slave terminology

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

    Or the process terminology: "How to kill parent?" "How to spawn child?" "How to terminate zombie child?" Kinda forked if you ask me.

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

    Tbf, we're trying to get away from that one

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

    Has there been “slave” anywhere for a while? The last time I can think is PATA, which is ancient by now.

    It seems like most (all?) uses of “master” these days are in the sense of a “master copy”, which doesn’t really have a “master/slave” dynamic to it.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • [–] 13 points 2 months ago

    Yeah, I've heard. I've always associated the terms with dom/sub play, not slavery.

    I get the reasoning as to why, but it seems odd to me that the IT terms were fixated on, but not the engineering terms; "master" and "slave" are still the accepted terms in the context of hydraulic systems, for example.

    It's also generally accepted that "retard" and "retarded" are generally acceptable terms when used in an engineering context. If we can accept that some terms are accepted in the a technical context, it seems inconsistent not to apply the same thinking to IT terminology.

    Just more stuff to keep us bickering with each other so we don't look up and realize where all the real problems are coming from, imo.

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

    I use main instead of master on git, but what's the substitute to slave? Especially in master/slave setups like you have 1 processor controlling a bunch of measuring equipment for example.

  • source
  • parent
  • hideshow 6 child comments
  • load more comments (-1 replies)
  • [–] 56 points 2 months ago
    [–] 24 points 2 months ago

    "ffmpeg" 🤨

  • source
  • [–] 23 points 2 months ago
    [–] 20 points 2 months ago (2 children)

    man finger

    touch $it; nice -n 1 cat; fsck; shutdown

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

    It's not, trust me. Now football, that is horny. Tight end, going deep, hand off.

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

    Look who coined the terms. Like the Silicon Valley stoners/hippies who came up with bit, byte, and nibble.

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

    "Ey gurl, don't act like you ain't see my pull request. Lemme deep scan dem packets."

  • source
  • [–] 13 points 2 months ago (1 child)
  • [–] 9 points 2 months ago

    I just put my network card into promiscuous mode

  • source
  • [–] 9 points 2 months ago

    Always with all the questions. You want in or not?

  • source
  • [–] 12 points 2 months ago (1 child)

    They forgot master/slave in version control systems.

  • source
  • hideshow 1 child comment
  • [–] 6 points 2 months ago

    It's the man-in-the-Middle.

  • source
  • [–] 6 points 2 months ago

    I like how the most prominent part of the screenshot is the person explaining the joke in an unfunny way

  • source