this post was submitted on 03 Dec 2023
696 points (95.3% liked)
linuxmemes
22302 readers
48 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Does it work on fish shell?
What that garble of symbols does, is that it defines and calls a function named
:
, which calls itself twice.The syntax for defining a function is different in Fish, so no, this particular garble will not work:
![](https://feddit.de/pictrs/image/65a6bb53-312f-401a-8823-ba94ada93433.png)
But it is, of course, possible to write a (much more readable) version that will work in Fish.
you can write a more readable version in any shell, it's intentionally unreadable
Yeah, I meant, as an attacker, you couldn't come up with a similarly unreadable version.
At least, as far as I can tell, defining a function requires spelling out
function
and seems to require being defined on multiple lines, too.Oh, I see. That's very nice then
Unfortunately it works in zsh. I just had to kill my laptop after curiosity got the better of me.
the gentleman hacker
The ampersand looks very weird in that font. It would bug me.
It hails back to the early days of the ampersand, from when it was basically still just Latin "et": https://commons.wikimedia.org/wiki/File:Trebuchet_MS_ampersand.svg
Personally, I do like this font (Fira Mono+Sans), because it still looks professional, without being so boring that I get depression from looking at it.
But yeah, that ampersand is pushing it a bit, as I'm not sure everyone else knows that's an ampersand...
Doesnβt work in nushell, function syntax is different.
Probably still possible, just written differently.