this post was submitted on 20 May 2025
53 points (94.9% liked)

Linux

66319 readers
389 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 7 years ago
MODERATORS
all 49 comments
sorted by: hot top controversial new old
[–] NichtElias@sh.itjust.works 84 points 1 year ago (2 children)

It's said that less is more but I more or less use less more than more.

[–] lordnikon@lemmy.world 25 points 1 year ago

I both understood that sentence perfectly and sounded like a crazy person while reading it out loud.

[–] brisk@aussie.zone 2 points 1 year ago

This would fit in perfectly in Dr Suess' Hop on pop

[–] lupusblackfur@lemmy.world 30 points 1 year ago

Been using Less for so long...

Forgot More existed. 🤷‍♂️

[–] catloaf@lemm.ee 29 points 1 year ago

I don't know why anyone would use more when less is more with more features.

[–] SpicySquid@lemmy.ml 26 points 1 year ago (1 children)
[–] tetris11@lemmy.ml 2 points 1 year ago (1 children)

I use bat sometimes, but how do you stop it from wrapping lines?

[–] msherburn33@lemmy.ml 17 points 1 year ago* (last edited 1 year ago) (3 children)

I use bat sometimes, but how do you stop it from wrapping lines?

$ cat ~/.config/bat/config
--wrap=never
[–] timroerstroem@feddit.dk 13 points 1 year ago

$ cat ~/.config/bat/config

The irony.

[–] tetris11@lemmy.ml 4 points 1 year ago

I ain't got no time for no config! I'm a busy man!

[–] Balthazar@lemmy.world 22 points 1 year ago (1 children)
[–] Eyedust@lemmy.dbzer0.com 9 points 1 year ago (2 children)
[–] Balthazar@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

At least I use bash!

[–] JoeKrogan@lemmy.world 15 points 1 year ago* (last edited 1 year ago) (1 children)

"less". If its a small file i use cat. If i want the top I use "head" or "tail' for the bottom. For a specific string i use "grep"

[–] tomcatt360@lemmy.zip 3 points 1 year ago

I feel like more punctuation was called for here. /s

[–] deadcatbounce@reddthat.com 13 points 1 year ago
[–] hallettj@leminal.space 12 points 1 year ago

I'm not sure if I've used more in the last 25 years. And when I did I think it was in MS-DOS.

[–] MonkderVierte@lemmy.ml 8 points 1 year ago (1 children)

LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'

[–] tetris11@lemmy.ml 1 points 1 year ago (1 children)

is that an alias or a sys env?

[–] MonkderVierte@lemmy.ml 4 points 1 year ago* (last edited 1 year ago) (1 children)

Sys env. It adds syntax highlighting to less. Needs the highlight tool of course, there are others.

[–] tetris11@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao

[–] MonkderVierte@lemmy.ml 2 points 1 year ago

Yeah, less is weird there with needing the pipe.

[–] isVeryLoud@lemmy.ca 8 points 1 year ago

Less is more!

[–] CsXGF8uzUAOh6fqV@lemmy.world 7 points 1 year ago

less or bat, but I usually use by paging up and down so it's not that different from more... My terminal emulator only pages up and down, I like it that way.

[–] mvirts@lemmy.world 6 points 1 year ago

Less, then "vim -" after I realize I don't know how to use less.

[–] nao@sh.itjust.works 5 points 1 year ago

more only if less is not available

tail -f of vim

[–] zagaberoo@beehaw.org 4 points 1 year ago

I like that more behaves like cat when there's less than a page of output rather than requiring you to press q to get back to the prompt even when it would just fit.

There's probably a way to make less do that too, but more already does it without configuration. Overall I use less most of the time but I like having the option.

[–] ferric_carcinization@lemmy.ml 4 points 1 year ago

Neither, bat or neovim.

[–] jeena@piefed.jeena.net 3 points 1 year ago (1 children)

I thought Less is More?

But because it comes first that is what I usually use.

[–] tetris11@lemmy.ml 3 points 1 year ago (1 children)

I use less always, and am genuinely puzzled by people who use more

[–] petey@aussie.zone 10 points 1 year ago

Old habits die hard? I used to administer old SunOS machines that didn’t have less (and would take considerable effort to install on all of the machines) so these days I just alias more to less

[–] zaphodb2002@sh.itjust.works 3 points 1 year ago
[–] simonced@lemmy.ml 3 points 1 year ago

I use more because I learned more first. Now it's in muscle memory, so I won't change anytime soon.

[–] ABetterTomorrow@lemm.ee 2 points 1 year ago

Isn't more like the main driver for our prospering civilization?

Some might say that the shift in desiring less is the downward path for the over-saturated humanity.

But lets not get too deep here.

[–] AndyRTR@lemmy.ml 2 points 1 year ago

alias less='moar'

[–] slazer2au@lemmy.world 2 points 1 year ago
[–] Ulrich@feddit.org -3 points 1 year ago (3 children)

Could you be more cryptic?

[–] HeerlijkeDrop@thebrainbin.org 8 points 1 year ago (1 children)

Those are two pager programs on Linux. less has more features than more and that's what most people use.

[–] Ulrich@feddit.org 0 points 1 year ago (1 children)
[–] Laser@feddit.org 6 points 1 year ago

Allows you to scroll through / view a text file in the terminal.

[–] tetris11@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Yes, back in days of yore when the cyberbunnies had to run their lines through the bare wastes of the great Dave's router, there existed a tool so coveted by the eunuchs that they named it twice, and would beg for degrees of release depending on how gimped up they were. "More" some would scream, "less" others would whisper.