this post was submitted on 28 Sep 2023
290 points (96.8% liked)

Linux

48072 readers
1 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 6 years ago
MODERATORS
290
modern unix (github.com)
submitted 2 years ago* (last edited 2 years ago) by folak@lemmy.world to c/linux@lemmy.ml
 

foss

top 32 comments
sorted by: hot top controversial new old
[–] polite_cat@lemmy.world 60 points 2 years ago

fyi, exa is unmaintained, although there is a maintained fork called eza (repo)

[–] d3Xt3r@lemmy.nz 36 points 2 years ago
[–] jsdz@lemmy.ml 26 points 2 years ago (2 children)

"bat" seemed interesting, until I remembered that I'd just do a "git diff" if I wanted to see a diff. The rest do not strike me as substantially better than what they're trying to replace. Enjoy them all as you will, but I would recommend refraining from describing them as "modern unix" in the presence of any old-timers.

[–] GlitzyArmrest@lemmy.world 7 points 2 years ago

I use bat as a drop in replacement for cat (overriding cat in my .zshrc) by using --style=plain --paging=never on the bat command. Basically looks and works the same as cat, except with syntax highlighting.

[–] Pantherina@feddit.de 2 points 2 years ago* (last edited 2 years ago) (1 children)

Bat also adds lots of stuff to the output. Is there a clean print functionality without the extra numbers?

Edit: but with the parameters its great!

[–] GlitzyArmrest@lemmy.world 4 points 2 years ago

--style=plain will do it!

[–] lemmesay@discuss.tchncs.de 25 points 2 years ago (2 children)

just 2 in the list were GPL licensed :/

[–] Linus_Torvalds@lemmy.world 8 points 2 years ago (1 children)

I know that MIT is no Copyleft license, but is that really a problem?

[–] lemmesay@discuss.tchncs.de 15 points 2 years ago (1 children)

not actually. I also use many programs that are MIT or BSD licensed.

it's just that replacing working GPL'd programs with MIT ones might be more appealing to corporations than someone like me who cares as much about ideology as the programmes themselves.

I don't wish to see services being sucked for their value by corporates who give little to nothing in return. history is replete with such instances.

[–] Linus_Torvalds@lemmy.world 4 points 2 years ago

I do understand your scepticism towards companies; the reason for my question was that I got the impression from your first comment that you don't like/install MIT code and was just confused as to why someone might dislike that.

[–] RickyRigatoni@lemmy.ml -3 points 2 years ago (1 children)

Exa dev couldn't even spell license right...

[–] lemmesay@discuss.tchncs.de 8 points 2 years ago (1 children)

licence is a word, commonly used in commonwealth countries.

[–] RickyRigatoni@lemmy.ml -1 points 2 years ago

english english is wrong. american english is good. jeff foxworthy told me in a dream.

[–] starman@programming.dev 25 points 2 years ago* (last edited 2 years ago) (2 children)

Most of that stuff is MIT/Apache licensed unlike programs from GNU. Interesting.

[–] rbos@lemmy.ca 11 points 2 years ago (1 children)

It would be cool if the GNU project sponsored a new updated 'standard' set of tools though.

[–] dsemy@lemm.ee 10 points 2 years ago (1 children)

Why would they? The “old” tools work very well, are well known and are likely used in millions of scripts.

The new tools will have more bugs, unfamiliar options and unexpected behavior (due to them being new), and the improvements current “modern” alternatives bring to the table are often very minor.

[–] rbos@lemmy.ca 1 points 2 years ago

I'd expect they'd 'adopt' the tools and redistribute them under the GPL, if they did.

[–] Schmeckinger@feddit.de 0 points 2 years ago

Probably because that's basically the default license rust projects use and a lot of this stuff is made in rust.

[–] Rustmilian@lemmy.world 23 points 2 years ago

eza because exa is unmaintained.

[–] simonced@lemmy.one 12 points 2 years ago (1 children)

Great list, but a couple could be added:

  • btop (process/resouces monitor, highly customizable)
  • lnav (log navigator, grouping folder of files in one display, search/filter etc...)
[–] GlenTheFrog@lemmy.ml 2 points 2 years ago

Btop++ is general better since it's written in c++ and is faster

[–] leap123@lemmy.world 11 points 2 years ago (2 children)

How come half of the commands in this readme were written in Rust

[–] xcjs@programming.dev 12 points 2 years ago

Rust specializes in making parallel processing secure and approachable, so it's going get used in problems where parallel processing and efficiency matter.

Rust is also now allowed to be used in the Linux kernel for the same reasons, which is exciting!

[–] lord_ryvan@ttrpg.network 5 points 2 years ago

Cause it's awesome?

[–] bundes_sheep@lemmy.one 9 points 2 years ago (1 children)

Are these built to handle pipes? If I bat a file and redirect it to a file, does it work as expected or does it add in the escape sequences for the colors, for example?

[–] PhictionalOne@feddit.de 7 points 2 years ago* (last edited 2 years ago)

bat foo | bar behaves like cat foo | bar same with > and such.

[–] george@lemmy.org.il 8 points 2 years ago

Oh broot is really cool. Better than exa --tree, because it has that sweet "xxx hidden" thing. This command makes it pretty close to tree, as it prints it out rather than present you with an interactive screen, which I'm not interested at:

broot --sort-by-type-dirs-first --cmd :print_tree
[–] MusicPiano@lemmy.world 6 points 2 years ago

This is a really good list. I already use the majority of them. Thanks!

[–] dorumon@lemm.ee 4 points 2 years ago

These programs are actually really cool and I un-ironically want to use them.

[–] fartsparkles@sh.itjust.works 0 points 2 years ago (1 children)

Here’s a slightly better list. Call out to nushell and fish, my two modern shell favourites.

[–] Rustmilian@lemmy.world 0 points 2 years ago (1 children)

Fish is overrated imo.
Nushell is better but not quite what I'm looking for.

[–] Rustmilian@lemmy.world 1 points 1 year ago

Fish is no longer overrated.