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

Linux

48334 readers
600 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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 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.

[–] [email protected] 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?

[–] [email protected] 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.

[–] [email protected] 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)

[–] [email protected] 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.

[–] [email protected] 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

[–] [email protected] 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