top 96 comments

sorted by: hot top controversial new old
[–] 105 points 3 months ago* (last edited 3 months ago) (4 children)

Thompson shell (predates Bourne)


scsh (Scheme shell) and closh (Clojure shell)


sash (stand-alone shell)


gash (Guile shell)


ash (Almquist shell)


dash (Debian Almquist shell)


eshell (Emacs shell)


Shells I couldn't think of images for:

  • bosh (from SchilyTools)
  • tclsh (Tcl shell)
  • ion (from Redox OS)
  • source
  • hideshow 4 child comments
  • [–] 83 points 3 months ago (7 children)
  • [–] 30 points 3 months ago* (last edited 3 months ago) (1 child)

    alias Da-boom-da-da-mmm-dum-na-ee-ma="sudo rm -rf /"

    (I don't think it actually works this way in ksh but I already spent 10 minutes trying to figure out the command to get root privileges in ksh and that's already too much time for this dumb joke.)

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

    I remember making that joke on Lemmy and someone calling me immature lol.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 57 points 3 months ago*

    The Web site for fish reads:

    Finally, a command line shell for the 90s

    I love them and always will.

  • source
  • [–] 52 points 3 months ago* (9 children)
  • [–] 12 points 3 months ago (8 children)

    There's probably only two people who will get this joke... and I'm one of them.

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

    considering the image is a link... idk man

  • source
  • parent
  • hideshow 3 child comments
  • [–] 38 points 3 months ago (6 children)
  • [–] 7 points 3 months ago (2 children)
  • [–] 73 points 3 months ago (17 children)

    imo fish is the best out of the box for me, but I just use bash cause its everywhere

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

    Yeah, that's where this meme fails. BASH is the default and has been for decades. Most people are not Gigachad.

    I'll accept FISH as being for babies, Zsh as being for Emo types or extra nerdy people. SH being for white beards makes sense.

    BASH is:

    IT Guy

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

    I used a macbook for work for a while with zsh in the terminal. IDK whether I qualify as emo, but I am nerdy. I only think of myself as regular nerdy, though, not extra nerdy.

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

    Was zsh the default at the time? Or did you switch to zsh? AFAIK the new default is BASH, but it was zsh for a while.

    IMO, your level of nerdiness is much higher if you change the default shell.

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

    I had to go back and check. Apple says that the default changed from bash to zsh in Catalina (10.15). I seem to recall a message coming up on the machine about zsh. I definitely remember poking around at config files and looking at iTerm2 vs. the default terminal app at the time.

    Does that make me extra nerdy? IDK. I can tell you that I was more focused on "What's going to be comfortable to work with" vs. nerding out on shell differences.

    I do miss homebrew now that I'm working on a Windows laptop.

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

    I do miss homebrew now that I’m working on a Windows laptop.

    winget m'boy

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

    Ooh, worth a try. I'm not sure whether I have the necessary permissions, though. My work laptop is pretty locked down.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago

    Good luck! No huge loss if it doesn't work though, at least in my opinion. I like it for finding and installing software, and bulk upgrading everything at once, and the ability to do it all remotely with relative ease. But it's not as powerful in terms of dependency management and whatnot, coming from POSIX package managers

  • source
  • parent
  • [–] 1 point 3 months ago (1 child)

    Maybe I remember wrong, but my memory is that at one point MacOS had zsh as the default and then switched to BASH, and then maybe back to zsh again. But, since Internet search is broken these days, I can't find anything about that.

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

    All I can really tell you is that I remember seeing a message about the new default being zsh, and that was back in 2020 or maybe 2021. So it def switched from something else to zsh, but whether it was bash -> zsh or zsh -> bash -> zsh...shrug

  • source
  • parent
  • [–] 16 points 3 months ago (5 children)

    Yeah, I agree. It's quirky, its syntax is annoying, and a good ZSH setup is probably better... but I don't have the time to do an actual ZSH setup.

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

    A good zsh setup is not better. That’s why I switched off of zsh after years, because it was slower, more bloated, and less intuitive than fish. And bash is ten times worse than zsh.

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

    Huh, the more you know. My only experience with ZSH is when I briefly used Manjaro, and it seemed fine at the time... but now that I say that I think about it, "Manjaro defaulting to it," might have been a bit of a red flag...

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

    Yeah to get the same setup in zsh you have to install a plugin manager and then quite a number of plugins. Most people default to omz (oh my zsh) but that’s the slowest way. If you pick through all the managers you can get a decent one, but even without a manager the overhead of loading plugins is just slower than building it in like fish does. Fish just is better. And I don’t think I’ve ever once needed posix syntax. If I need to run a script and it doesn’t have a shebang at the start then I just run > bash and start the script there.

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

    I use bash because gentoo's portage has a hard dependency on it so in my mind it doesn't make much sense to install and keep yet another shell just because colors and autocompletion. If they ever get rid of the bashisms in portage I'd surely consider moving to fish, but getting rid of the bashisms in portage means that portage could be ported to the BSDs one more time and we could have Gentoo/BSD again

  • source
  • parent
  • [–] 151 points 3 months ago (19 children)
  • [–] 86 points 3 months ago (6 children)

    Powershell is probably simultaneously the best and worst thing Microsoft has ever created

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

    Second best. The best was Active Directory.

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

    I am the Linux folks.

    FreeIPA is fine, and I don’t care much about the GPO aspect of Active Directory. But the standardization-by-ubiquity that made it easy for everyone to just follow along and make it so it Just Works has been a godsend.

    Yes Microsoft built on the shoulders of giants but trying to make things work with OpenLDAP or the other also-ran directory services was a nightmare.

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

    I remember powershell being extremely slow to start on my laptop and sometimes slow to catch up to my typing (and I'm a slooow typist).

    tbf it was the win 8.1 days, dunno if it's better now.

    Really liked using it tho. At least it used my actual keyboard layout, unlike cmd.

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

    It's much better now, I put off moving from cmd until somewhere around 2015 when I was using 'invoke-command' constantly, over the last decade or so I've moved to powershell proper cmdlets... Its actually not that bad.

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

    Then give nushell a go. It's basically a modern implementation of some of the better ideas Powershell had.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 9 points 3 months ago (3 children)
  • [–] 12 points 3 months ago* (last edited 3 months ago) (2 children)
    1. Types.

      You explode lists manually into items when calling commands on a variable list of arguments instead of β€œquoting variables” to prevent them from exploding.

      Who came up with the bullshit idea that exploding strings into words is such a common use case that this footgun is preferable to have an β€œexplode lists” syntax?

    2. Errors. No more set -euo pipefail; shopt -s lastpipe to beat some semblance of sanity into bash

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

    One of the things I really like about PowerShell is the "verb-noun" convention. It makes things a lot easier when learning by examples. Wtf is a sed or an awk? But New-Item -Type Directory oh yeah that makes sense.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 3 months ago (1 child)

    It even kind of suck as a Windows-only shell...

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 3 months ago

    Honestly it’s pretty good, but it’s very verbose in its commands and output.

    The default settings are irritating but it takes only minor tweaks to make it tolerable (mainly fixing the tab completion)

    It’s nicely consistent with its object handling.

    As a windows shell it is head and shoulders above cmd.exe. I’ve thought about using it on Linux but there I like fish better.

  • source
  • parent
  • [–] 32 points 3 months ago
    [–] 31 points 3 months ago (10 children)

    Fish is the best . Do not listen what other says just because it's easy to use does not make it a bad tool Also helix better then neovim and emacs
    And zellij better then tmux
    Micro better then nano Jj better then git A LOT

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

    JJ lacks too many features compared to git, it's easier to use but just less powerful. I think Helix and Zellij are good for that "batteries included" approach, but neovim and tmux are more powerful and allow much more customization IMO so those tools don't displace them for me. I think shell choices are less impactful, if you're writing scripts 90% of the time it'll have to be bash anyway, use what you like for the interactive shell though.

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

    I use fish because it was the default in cachyos and decided to give it a fair shake. I like the built in syntax highlighting and fancy autocomplete but I miss bash scripting and built in commands that replace standard commands can be weird sometimes. I have not tried scripting fish, to lazy to learn yet another scripting language, especially if bash is the (almost) de-facto standard.

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

    I like having fish as an option, but don't think I'd ever use it as my default.

    If I have a long command that uses long filenames, or I don't remember the syntax of something, I can just type "fish" and it'll open up a fish shell.

  • source
  • parent
  • [–] 18 points 3 months ago
    [–] 16 points 3 months ago (1 child)

    I can't begin to say how superior my fish rice is to any alternative. So I won't. And I'll leave yall to flame me for implying it.

  • source
  • hideshow 1 child comment
  • [–] 32 points 3 months ago (6 children)

    Sometimes I think I'm the only linux user who doesn't care about their terminal emulator. I use whatever came installed. I assume it's bash? I don't know, but anything i want to do is supported by all of them.

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

    Akchually, those are shells, not terminal emulators.

    Which I guess confirms that you really don't care. Whatever works for you, works for you :)

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

    What's the difference.

    How does the virtual terminal factor in.

    Why are some shells not login shells

    What is a terminal these days and why does it mess up keypresses

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

    A terminal emulator (such as xterm, tmux, or emacs) is responsible for displaying a pseudoterminal in a different context (such as an x server, another terminal, or an emacs buffer respectively). Terminals are divided into three types: virtual terminals (on boot or as presented by [C-]A-F<N>), β€˜true’ terminals (exposed on serial ports), and pseudoterminals (controlled by other programs). Essentially, you have a virtual terminal running X running Xterm which controls a pseudoterminal with tmux attached controlling another pseudoterminal.

    Login shells are a special flag set when launching shells, sometimes. They typically read different settings (e.g. Bash reads ~/.bash_profile instead of ~/.bashrc). Most shells will launch as a login shell if their command name (argv[0]) begins with a hyphen; Bash also allows explicit bash -l to run a login shell.

  • source
  • parent
  • load more comments
    view more: next β€Ί