Terminology

853 points · 73 comments · view on lemmy.world

73 Comments

Buffman@lemmy.world · 135 pts · 3d (26 replies)

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

jaybone@lemmy.zip · 40 pts · 3d (11 replies)

Forgot $

lena@gregtech.eu · 57 pts · 3d

Like sex, an operating system is better when it's free

wonderingwanderer@sopuli.xyz · 19 pts · 3d (8 replies)

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

01189998819991197253@infosec.pub · 16 pts · 3d

That's the currency in The Sims...

dry_water@programming.dev · 4 pts · 2d (6 replies)

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

wonderingwanderer@sopuli.xyz · 3 pts · 2d (5 replies)

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

oozynozh@sh.itjust.works · 2 pts · 2d (2 replies)

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.

wonderingwanderer@sopuli.xyz · 1 pts · 2d (1 reply)

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

oozynozh@sh.itjust.works · 1 pts · 2d

bingo

dry_water@programming.dev · 1 pts · 2d (1 reply)
wonderingwanderer@sopuli.xyz · 2 pts · 1d

Got it, yeah someone else already explained it and it turns out I have used it

call_me_xale@lemmy.zip · 4 pts · 3d

And !

Skullgrid@lemmy.world · 16 pts · 3d (8 replies)

... grep?

Barrymore@sh.itjust.works · 30 pts · 3d (2 replies)

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

heartSagan5@lemmy.zip · 5 pts · 3d

To the radiator. It’s not also.

nilloc@discuss.tchncs.de · 4 pts · 3d

The Hammurderer is quickly becoming regarded as the worst-received advertising mascot since Kool-Aid’s 1989 discontinuation of “The Grapist,” a huge purple monster who sodomizes thirsty children.

The Onion, March 2002

queerlilhayseed@piefed.blahaj.zone · 2 pts · 3d (3 replies)

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.

Skullgrid@lemmy.world · 4 pts · 3d (2 replies)

...

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.

queerlilhayseed@piefed.blahaj.zone · 4 pts · 3d

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.

osanna@lemmy.vg · 3 pts · 3d

i think it's like grab, but spelt grep

Buffman@lemmy.world · 2 pts · 2d

Sounds pretty close to grope or grab.

CubitOom@infosec.pub · 8 pts · 3d

date

jol@discuss.tchncs.de · 3 pts · 3d (1 reply)

You forgot scrot

wonderingwanderer@sopuli.xyz · 1 pts · 2d

'Sup scrote!

Valmond@lemmy.dbzer0.com · 3 pts · 3d

Put on the sockets, finger and connect, accept reject.

WorldsDumbestMan@lemmy.today · 1 pts · 2d

This is the weirdest boner yet.

gastroglizzy@piefed.social · 67 pts · 3d (22 replies)

Don't forget all the master/slave terminology

perviouslyiner@lemmy.world · 72 pts · 3d

afk_strats@lemmy.world · 38 pts · 3d (15 replies)

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

kibiz0r@midwest.social · 16 pts · 3d (1 reply)

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.

UnfortunateShort@lemmy.world · 5 pts · 3d

Yep, gotta work with that on a daily basis because its in the protocol I have to work with.

aburrito@sh.itjust.works · 14 pts · 3d (2 replies)

And I’m so glad, and my boomer coworkers still complain

ILikeBoobies@lemmy.ca · 12 pts · 3d (1 reply)

I don't see the issue but I find Dom/Sub better anyway.

libewa@feddit.org · 10 pts · 3d

USB-OTG should just have been named USB Power Bottom. That makes USB-Type-C the embodiment of a switch.

gastroglizzy@piefed.social · 13 pts · 3d

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.

Valmond@lemmy.dbzer0.com · 6 pts · 3d (8 replies)

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.

smeg@feddit.uk · 7 pts · 3d (2 replies)

I've seen controller/worker which seems pretty descriptive

Valmond@lemmy.dbzer0.com · 9 pts · 3d (1 reply)

Manager/wageslave 😁😌😒

It's not easy.

smeg@feddit.uk · 4 pts · 3d

I think I've seen leader/follower too

jdr@lemmy.ml · 4 pts · 3d (2 replies)

Master in git is like master record, nothing to do with slaves

Valmond@lemmy.dbzer0.com · 1 pts · 2d (1 reply)

It sure is, it's the master branch that rules over all other branches.

jdr@lemmy.ml · 2 pts · 2d

You're the master of lies

5opn0o30@lemmy.world · 2 pts · 3d (1 reply)

primary/replica

Scrollone@feddit.it · 1 pts · 2d

Honestly, master/slave sounds so much better. But, well, slavery has been abolished centuries ago in my country, unlike the US

Equinox1289@sh.itjust.works · 23 pts · 3d (4 replies)

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

Carrot@lemmy.today · 17 pts · 3d (1 reply)

My worst search was "How to kill orphaned child" I didn't even think about how it sounded until I saw it typed out in the search box lol

WhiskyTangoFoxtrot@lemmy.world · 6 pts · 3d

I think the go-to option is an elaborate death trap that will prove to be easily escapable in the next episode.

libewa@feddit.org · 5 pts · 3d

If the parent was waiting on the child, it is notified of the exit status and the child dies immediately. ~ man exit(3)

Aids@lemmy.ml · 3 pts · 3d

I c wut u did there

psilotop@lemmy.world · 59 pts · 3d

RedStrider@lemmy.world · 23 pts · 3d

"ffmpeg" 🤨

lena@gregtech.eu · 22 pts · 3d

Simulation6@sopuli.xyz · 20 pts · 3d

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

decolo@piefed.social · 20 pts · 3d (2 replies)

man finger

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

analfabeto@lemmy.eco.br · 4 pts · 3d (1 reply)

No manual entry for finger

heartSagan5@lemmy.zip · 4 pts · 3d

It’s an old lookup tool. I believe it printed the gecos/“meta data about a username logged in” from passwd on UNIX boxes back in the day.

You can do

getent passwd $USER
cerebralhawks@lemmy.dbzer0.com · 17 pts · 3d (6 replies)

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

call_me_xale@lemmy.zip · 5 pts · 3d (1 reply)

I prefer the spelling "nybble"

cerebralhawks@lemmy.dbzer0.com · 3 pts · 3d

It certainly fits. I’ve only heard the term, never heard it used in practice.

nylo@lemmy.dbzer0.com · 4 pts · 3d (3 replies)

What's a nibble in this context?

floquant@lemmy.dbzer0.com · 11 pts · 3d

Usually half a byte, 4b, but I think the general definition is half of the word size

luciferofastora@feddit.org · 1 pts · 3d (1 reply)

Half a byte: 4 bits

jdr@lemmy.ml · 3 pts · 3d

Shave and a haircut: 2 bits

gastroglizzy@piefed.social · 14 pts · 3d

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

sunbytes@lemmy.world · 13 pts · 2d (1 reply)

"Nobody mention the GIMP"

Knock_Knock_Lemmy_In@lemmy.world · 2 pts · 2d

Bring out the GIMP

rekabis@programming.dev · 12 pts · 3d (1 reply)

They forgot master/slave in version control systems.

gastroglizzy@piefed.social · 7 pts · 3d

You used to have master and slave processes too until it was changed to parent and child

01189998819991197253@infosec.pub · 9 pts · 3d

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

tias@discuss.tchncs.de · 9 pts · 2d

I just put my network card into promiscuous mode

glimse@lemmy.world · 6 pts · 3d

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

onionsinmypores@sh.itjust.works · 6 pts · 2d

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