Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected] • 29 days ago

Less vs More, what's your poison?

message-square
49
fedilink
54
message-square

Less vs More, what's your poison?

@[email protected] to [email protected] • 29 days ago
message-square
49
fedilink
alert-triangle
You must log in or register to comment.
  • @[email protected]
    link
    fedilink
    4•29 days 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.

  • hallettj
    link
    fedilink
    English
    13•29 days 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.

  • setVeryLoud(true);
    link
    fedilink
    8•28 days ago

    Less is more!

  • 柊 つかさ
    link
    fedilink
    7•29 days 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.

  • @[email protected]
    link
    fedilink
    English
    3•29 days ago

    Neither, bat or neovim.

  • Ulrich
    link
    fedilink
    English
    2•29 days ago

    Could you be more cryptic?

    • @[email protected]
      link
      fedilink
      3•29 days ago

      RTFM.

    • HeerlijkeDrop
      link
      fedilink
      8•29 days ago

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

      • Ulrich
        link
        fedilink
        English
        2•29 days ago

        What’s a pager program?

        • @[email protected]
          link
          fedilink
          6•29 days ago

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

    • @[email protected]OP
      link
      fedilink
      2•
      edit-2
      29 days 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.

  • Jerkface (any/all)
    link
    fedilink
    English
    6•
    edit-2
    29 days ago

    I use a teletype. My scrollback is INFINITE.

    • @[email protected]OP
      link
      fedilink
      6•29 days ago

      your buffer size must exceed several floppies!

  • @[email protected]
    link
    fedilink
    3•28 days ago

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

  • @[email protected]
    link
    fedilink
    8•29 days ago

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

    • @[email protected]OP
      link
      fedilink
      1•29 days ago

      is that an alias or a sys env?

      • @[email protected]
        link
        fedilink
        4•
        edit-2
        29 days ago

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

        • @[email protected]OP
          link
          fedilink
          2•
          edit-2
          29 days ago

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

          • @[email protected]
            link
            fedilink
            2•29 days ago

            Yeah, less is weird there with needing the pipe.

  • @[email protected]
    link
    fedilink
    15•
    edit-2
    29 days ago

    “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”

    • @[email protected]
      link
      fedilink
      English
      5•29 days ago

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

  • LupusBlackfur
    link
    fedilink
    31•29 days ago

    Been using Less for so long…

    Forgot More existed. 🤷‍♂️

  • @[email protected]
    link
    fedilink
    22•29 days ago
    alias more=less
    
    • Eyedust
      link
      fedilink
      English
      10•29 days ago

      Godless heathen here.

      • @[email protected]
        link
        fedilink
        4•
        edit-2
        29 days ago

        At least I use bash!

      • @[email protected]
        link
        fedilink
        4•29 days ago

        Yes?

  • @[email protected]
    link
    fedilink
    4•29 days ago

    Most!

  • Jeena
    link
    fedilink
    English
    3•29 days ago

    I thought Less is More?

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

    • @[email protected]OP
      link
      fedilink
      3•29 days ago

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

      • @[email protected]
        link
        fedilink
        10•29 days 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

  • @[email protected]
    link
    fedilink
    English
    3•29 days ago

    Depends…

[email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

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

  • 75 users / day
  • 702 users / week
  • 1.72K users / month
  • 5.86K users / 6 months
  • 3 subscribers
  • 7.82K Posts
  • 200K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • @[email protected]
  • Arthur Besse
  • Cyclohexane
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org