Tom's Lemmy
  • Communities
  • Support Lemmy
  • Search
  • Login
Linux@lemmy.mlbytetris11@lemmy.ml
10 months

Less vs More, what's your poison?

47
    You must log in or register to comment.
    • NichtElias@sh.itjust.works
      10 months

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

        • lordnikon@lemmy.worldEnglish
          10 months

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

          • brisk@aussie.zone
            10 months

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

          • LupusBlackfur@lemmy.world
            10 months

            Been using Less for so long…

            Forgot More existed. 🤷‍♂️

            • catloaf@lemm.eeEnglish
              10 months

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

              • SpicySquid@lemmy.ml
                10 months

                Less, but actually bat

                  • tetris11@lemmy.ml
                    10 months

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

                      • msherburn33@lemmy.ml
                        10 months

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

                        $ cat ~/.config/bat/config
                        --wrap=never
                        
                          • timroerstroem@feddit.dk
                            10 months

                            $ cat ~/.config/bat/config

                            The irony.

                            • tetris11@lemmy.ml
                              10 months

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

                              • Jerkface (any/all)@lemmy.caEnglish
                                1 month

                                Removed by mod

                                  • Hule@lemmy.world
                                    10 months

                                    Souldn’t there be two of those to append?

                                    Ow! ^

                            • Balthazar@lemmy.world
                              10 months
                              alias more=less
                              
                                • Eyedust@lemmy.dbzer0.comEnglish
                                  10 months

                                  Godless heathen here.

                                    • Balthazar@lemmy.world
                                      10 months

                                      At least I use bash!

                                      • MonkderVierte@lemmy.ml
                                        10 months

                                        Yes?

                                    • JoeKrogan@lemmy.world
                                      10 months

                                      “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.zipEnglish
                                          10 months

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

                                        • hallettj@leminal.spaceEnglish
                                          10 months

                                          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.

                                          • deadcatbounce@reddthat.com
                                            10 months

                                            bat.

                                            • MonkderVierte@lemmy.ml
                                              10 months

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

                                                • tetris11@lemmy.ml
                                                  10 months

                                                  is that an alias or a sys env?

                                                    • MonkderVierte@lemmy.ml
                                                      10 months

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

                                                        • tetris11@lemmy.ml
                                                          10 months

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

                                                            • MonkderVierte@lemmy.ml
                                                              10 months

                                                              Yeah, less is weird there with needing the pipe.

                                                      • setVeryLoud(true);@lemmy.ca
                                                        10 months

                                                        Less is more!

                                                        • 柊 つかさ@lemmy.world
                                                          10 months

                                                          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.

                                                          • Jerkface (any/all)@lemmy.caEnglish
                                                            1 month

                                                            Removed by mod

                                                              • tetris11@lemmy.ml
                                                                10 months

                                                                your buffer size must exceed several floppies!

                                                              • mvirts@lemmy.world
                                                                10 months

                                                                Less, then “vim -” after I realize I don’t know how to use less.

                                                                • The Bard in Green@lemmy.starlightkel.xyz
                                                                  10 months

                                                                  tail -f of vim

                                                                  • nao@sh.itjust.works
                                                                    10 months

                                                                    more only if less is not available

                                                                    Linux@lemmy.ml

                                                                    linux@lemmy.ml
                                                                    <p>From Wikipedia, the free encyclopedia</p> <p>Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating s

                                                                    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: [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

                                                                    Visibility: Public

                                                                    This community is visible to everyone.

                                                                    • 669 users / Day
                                                                    • 2.82K users / Week
                                                                    • 5.45K users / Month
                                                                    • 14.3K users / 6 months
                                                                    • 1 local subscriber
                                                                    • 63.9K subscribers
                                                                    • 3.62K Posts
                                                                    • 51.2K Comments
                                                                    • Modlog
                                                                    • UI: 1.0.0-alpha.12
                                                                    • BE: 1.0.0-alpha.15
                                                                    • Modlog
                                                                    • Instances
                                                                    • Docs
                                                                    • Code
                                                                    • join-lemmy.org