I use more because I learned more first. Now it's in muscle memory, so I won't change anytime soon.
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
bat.
It's said that less is more but I more or less use less more than more.
This would fit in perfectly in Dr Suess' Hop on pop
I both understood that sentence perfectly and sounded like a crazy person while reading it out loud.
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.
LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'
is that an alias or a sys env?
Sys env. It adds syntax highlighting to less. Needs the highlight
tool of course, there are others.
oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
Yeah, less is weird there with needing the pipe.
I use a teletype. My scrollback is INFINITE.
your buffer size must exceed several floppies!
Been using Less for so long...
Forgot More existed. 🤷♂️
I don't know why anyone would use more when less is more with more features.
Less, but actually bat
I use bat sometimes, but how do you stop it from wrapping lines?
I use bat sometimes, but how do you stop it from wrapping lines?
$ cat ~/.config/bat/config
--wrap=never
$ cat ~/.config/bat/config
The irony.
I ain't got no time for no config! I'm a busy man!
You dropped your friggin' >
in another thread and I just stepped on it. Pain like Lego.
alias more=less
Godless heathen here.
At least I use bash
!
Yes?
tail -f of vim
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.
Neither, bat or neovim.
"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"
I feel like more punctuation was called for here. /s
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.
more only if less is not available
Most!
I thought Less is More?
But because it comes first that is what I usually use.
I use less always, and am genuinely puzzled by people who use more
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
Depends…
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.
More
Could you be more cryptic?
Those are two pager programs on Linux. less has more features than more and that's what most people use.
What's a pager program?
Allows you to scroll through / view a text file in the terminal.
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.
RTFM.