this post was submitted on 21 Jun 2024
131 points (97.1% liked)

Linux

48344 readers
405 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

What's your favourite to use? Mine is Fish due to its ease of use and user friendly approach.

Bash is the pepperoni of shell tools being reliable in every field no matter what but I've moved to Fish as I wanted to try something different.

So what's your shell of choice?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] j4k3@lemmy.world 5 points 5 months ago (1 children)

Slowly trying to learn sh while using mostly bash. Convenience is nice and all, but when I encounter something like OpenWRT or Android, I don't like the feeling of speaking a foreign language. Maybe if I can get super familiar with sh, then I might explore prettier or more convenient options, but I really want to know how to deal with the most universal shell.

load more comments (1 replies)
[–] Nibodhika@lemmy.world 5 points 5 months ago (1 children)

I've recently migrated to nushell, I don't straight up recommend it because it's not POSIX compliant, so unless you're already familiar with some other she'll I would not use it.

That being said, it's an awesome shell if you deal with structured data constantly, and that's something I do quite often so for me it's a great tool.

[–] laurelraven@lemmy.blahaj.zone 2 points 5 months ago (2 children)

Just looking at it briefly it looks a lot like PowerShell, any reason to use it over PowerShell?

[–] Nibodhika@lemmy.world 2 points 5 months ago (1 children)

Never used PowerShell, so I didn't know that it was available for Linux nor open source, since from a quick search both of them seem to be true I guess there's no real reason since both are described very similarly.

[–] laurelraven@lemmy.blahaj.zone 1 points 5 months ago

I'll probably give it a spin anyway, might be I find some benefit and it looks like an interesting project. Being Rust based instead of C# .NET based could theoretically make it a lot faster (though I've not really had an issue of speed in PowerShell)

[–] zaubentrucker@sopuli.xyz 1 points 5 months ago (2 children)

It's indeed a lot like powershell, but I found it to be much less painful to use for everyday tasks. I can't really put my finger on it, but powershell always felt very clunky and unpredictable to use. With Nushell, I can write pipelines that usually have the desired behavior on the first try. Also, its more convenient in so many different aspects that I can't go back anymore.

The biggest downside is, that it hasn't had a stable release yet. While I haven't encountered any bugs yet, there are often breaking changes with new releases that may break your scripts.

[–] laurelraven@lemmy.blahaj.zone 2 points 5 months ago

Yeah, PowerShell does do things that don't exactly make sense without having some understanding of the underlying dotnet and what the components actually do

[–] Nibodhika@lemmy.world 2 points 5 months ago

Like I said, never used PowerShell, but yeah, nushell pipes are very intuitive, I've been only using it for a short time but was already able to do very interesting pipes with minor effort

[–] JRepin@lemmy.ml 4 points 5 months ago

Bash is my favourite one, second to it being Fish

[–] TheV2@programming.dev 4 points 5 months ago

I use mainly fish and occasionally nushell.

[–] DarkNoul@feddit.nl 4 points 5 months ago
[–] Ferk@lemmy.ml 4 points 5 months ago* (last edited 5 months ago)

Bash. By default it might seem less featureful than zsh.. but bash is a lot more powerful and extensible than some give it credit for. It might be more complex to set it up the way you like it, but once you do it, that configuration can be ported over wherever bash exists (ie. almost everywhere).

[–] LordCrom@lemmy.world 4 points 5 months ago

Bash, zshell, BusyBox....you don't really need anything else

[–] sntx@lemm.ee 4 points 5 months ago
[–] TheAnonymouseJoker@lemmy.ml 4 points 5 months ago
[–] recarsion@discuss.tchncs.de 3 points 5 months ago

Zsh with powerlevel10k + a few plugins

[–] Lettuceeatlettuce@lemmy.ml 3 points 5 months ago

I have been enjoying fish a lot over the last few months, but I generally try to use Bash, it makes cross-*NIX administration that much easier.

[–] vipaal@aussie.zone 3 points 5 months ago

Bash as it is what I'm most familiar with. Having an eye out on the https://amber-lang.com/ that compiles to bash for future scripting purposes.

[–] KingThrillgore@lemmy.ml 3 points 5 months ago

zsh because I've been using it since college and I don't like change

[–] Static_Rocket@lemmy.world 3 points 5 months ago

Bash, just because everything else already uses it. That and bashisms have infected nearly all of my scripts as I clumsily bump into the limitations of POSIX string manipulation.

I have found some very fun things with sed branching patterns as a result of these limitations though...

https://www.gnu.org/software/sed/manual/html_node/Branching-and-flow-control.html

[–] ving_thor@lemmy.world 2 points 5 months ago

zsh with grml config because I'm too lazy to make my own config.

Bash is my login shell, but I have fish set as the default shell for alacritty

[–] laurelraven@lemmy.blahaj.zone 2 points 5 months ago (1 children)

PowerShell, with zsh being a close second

[–] moreeni@lemm.ee 2 points 5 months ago (1 children)

Feeling risky today, eh? Mind sharing the reasoning behind your extravagant choice?

load more comments (1 replies)
[–] MigratingtoLemmy@lemmy.world 2 points 5 months ago

POSIX on servers, thinking of switching to POSIX on desktop but that's a bit awkward

[–] calcopiritus@lemmy.world 2 points 5 months ago (1 children)

PowerShell, because of autocomplete and shift+arrows select.

load more comments (1 replies)
[–] aluminium@lemmy.world 1 points 5 months ago (1 children)

Powershell, but heavily customized.

[–] Tovervlag@feddit.nl 1 points 5 months ago

Why the downvotes? Ps is pretty good and it works well on Linux too.

[–] MerryChyrsler@feddit.nl 1 points 5 months ago

At the moment I'm using zsh with powerlevel10k. But powerlevel10k is not really supported anymore, and seems to be basically on life support. While it still works for now, I have been thinking of switching over to fish. But the lack of posix compatibility is holding me back a bit.

[–] gianni@lemmy.ml 1 points 5 months ago

I have customized ZSH to be very similar to Fish

load more comments
view more: ‹ prev next ›