social.sour.is
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@tetris11@lemmy.ml to Linux@lemmy.ml • 2 days ago

Less vs More, what's your poison?

message-square
45
fedilink
44
message-square

Less vs More, what's your poison?

@tetris11@lemmy.ml to Linux@lemmy.ml • 2 days ago
message-square
45
fedilink
alert-triangle
You must log in or register to comment.
  • @simonced@lemmy.ml
    link
    fedilink
    2•3 hours ago

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

  • deadcatbounce
    link
    fedilink
    7•17 hours ago

    bat.

  • @NichtElias@sh.itjust.works
    link
    fedilink
    70•1 day ago

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

    • @brisk@aussie.zone
      link
      fedilink
      1•14 hours ago

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

    • @lordnikon@lemmy.world
      link
      fedilink
      English
      19•1 day ago

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

  • @MonkderVierte@lemmy.ml
    link
    fedilink
    6•1 day ago

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

    • @tetris11@lemmy.mlOP
      link
      fedilink
      1•1 day ago

      is that an alias or a sys env?

      • @MonkderVierte@lemmy.ml
        link
        fedilink
        3•
        edit-2
        1 day ago

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

        • @tetris11@lemmy.mlOP
          link
          fedilink
          2•
          edit-2
          1 day ago

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

          • @MonkderVierte@lemmy.ml
            link
            fedilink
            2•20 hours ago

            Yeah, less is weird there with needing the pipe.

  • @zagaberoo@beehaw.org
    link
    fedilink
    3•22 hours 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.

  • Jerkface (any/all)
    link
    fedilink
    English
    3•
    edit-2
    24 hours ago

    I use a teletype. My scrollback is INFINITE.

    • @tetris11@lemmy.mlOP
      link
      fedilink
      4•24 hours ago

      your buffer size must exceed several floppies!

  • LupusBlackfur
    link
    fedilink
    21•1 day ago

    Been using Less for so long…

    Forgot More existed. 🤷‍♂️

  • @catloaf@lemm.ee
    link
    fedilink
    English
    24•2 days ago

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

  • @ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    4•1 day ago

    Neither, bat or neovim.

  • @SpicySquid@lemmy.ml
    link
    fedilink
    23•2 days ago

    Less, but actually bat

    • @tetris11@lemmy.mlOP
      link
      fedilink
      2•2 days ago

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

      • @msherburn33@lemmy.ml
        link
        fedilink
        15•
        edit-2
        1 day ago

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

        $ cat ~/.config/bat/config –wrap=never

        • @timroerstroem@feddit.dk
          link
          fedilink
          9•1 day ago

          $ cat ~/.config/bat/config

          The irony.

        • Jerkface (any/all)
          link
          fedilink
          English
          2•24 hours ago

          You dropped your friggin’ > in another thread and I just stepped on it. Pain like Lego.

        • @tetris11@lemmy.mlOP
          link
          fedilink
          3•1 day ago

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

  • @Balthazar@lemmy.world
    link
    fedilink
    16•1 day ago
    alias more=less
    
    • Eyedust
      link
      fedilink
      English
      5•1 day ago

      Godless heathen here.

      • @Balthazar@lemmy.world
        link
        fedilink
        2•
        edit-2
        22 hours ago

        At least I use bash!

      • @MonkderVierte@lemmy.ml
        link
        fedilink
        1•1 day ago

        Yes?

  • The Bard in Green
    link
    fedilink
    3•1 day ago

    tail -f of vim

  • hallettj
    link
    fedilink
    English
    11•1 day 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.

  • @JoeKrogan@lemmy.world
    link
    fedilink
    12•
    edit-2
    1 day 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”

    • @tomcatt360@lemmy.zip
      link
      fedilink
      English
      3•1 day ago

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

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

Linux@lemmy.ml

!linux@lemmy.ml

Subscribe from Remote Instance

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: !linux@lemmy.ml

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

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

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

  • 2.36K users / day
  • 4.14K users / week
  • 8.66K users / month
  • 17.8K users / 6 months
  • 54.3K subscribers
  • 7.9K Posts
  • 210K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org