Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. The only Linux commands you need
Forum Updated to NodeBB v4.3 + New Features

The only Linux commands you need

Scheduled Pinned Locked Moved Unsolved The Lounge
23 Posts 7 Posters 4.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J JonB
    6 Oct 2019, 08:17

    @Chris-Kawa
    My background is that I started in the days when boys were boys, men were men, and computers knew their place. Brought up on Unix, and I loved it. Then Windoze came along and introduced the "point-to-crash" interface. After years & years of that, for my Qt work I have gone back to Linux, and for me it's like a breath of fresh air.

    Of course people should have to go man before doing anything. The trouble is that "simplistic, fat green "upload" button" looks enticing, but it can (and does) do almost anything to the PC. I have spent untold time trying to rescue friends' machines from the consequences of pressing it. Computers were meant for a few people only (like me) to understand and be paid a lot of money to operate, not for the Great Unwashed.

    I'm also saying that Linux users just have a lot higher pain threshold because the environment they live in is so harsh and they've adapted with millions of small workarounds that seem natural now to them, but magic and quirks to others.

    I just don't see it that way. I see the Windows environment as the harsh, painful one, requiring workarounds & magic. ("You need to go into The Registry for this one, but don't blame us if you lose your whole PC as a consequence.")

    If you use more than, say, 20 apt-get installs total you have too much disk space. Try reducing. OTOH, apt-get update; apt-get upgrade liberates me from the awful experiences of using Windows Update. sudo should require the user to pass a small exam before being allowed to use it. chmod is Unix's way of saying "If you don't know what you're doing leave my files alone".

    :)

    K Offline
    K Offline
    kshegunov
    Moderators
    wrote on 6 Oct 2019, 09:49 last edited by kshegunov 10 Jun 2019, 09:52
    #6

    @JonB said in The only Linux commands you need:

    Computers were meant for a few people only (like me) to understand and be paid a lot of money to operate, not for the Great Unwashed.

    A small tangent on that. Computers were initially purposed for good-for-nothings like me, who wanted to calculate stuff that nobody needs. Sometimes I muse what a waste of CPU the GUI is, when all a computer is doing, and was purposed to do, is arithmetic (hence the name).

    Read and abide by the Qt Code of Conduct

    1 Reply Last reply
    0
    • C Online
      C Online
      Chris Kawa
      Lifetime Qt Champion
      wrote on 6 Oct 2019, 09:50 last edited by Chris Kawa 10 Jun 2019, 09:52
      #7

      @JonB I think you're describing the state of the world as it was something like 20 years ago... Go ahead and go to a coffee shop on the corner and convince the young mother with three kids clicking away on her ipad with her designer made fingernail to read man pages... or the scarf and beard equipped "artist" with his fruit machine... what you described is just not the world we live in anymore...

      Computers were meant for a few people only (like me) to understand and be paid a lot of money to operate, not for the Great Unwashed.

      A bit of nostalgia there, huh? I get you, good times. Well... welcome to 21st century I guess :) Things have long since worked that way.

      @JonB said in The only Linux commands you need:

      I see the Windows environment as the harsh, painful one, requiring workarounds & magic. ("You need to go into The Registry for this one, but don't blame us if you lose your whole PC as a consequence.")

      Again I think you're describing the world as it was, not as it is and has been for the past decade or so. I don't remember the last time I had to change something in the registry. Usually I'm reminded of it because QSettings still uses it as the default storage place for some obsolete reason.

      If you use more than, say, 20 apt-get installs total you have too much disk space

      Trust me, I don't use Linux anymore than I have to so I never have anything on it over the absolute bare minimum needed for what I need to do at that moment. Usually my Linuxes, after I'm done with them, go promptly to a virtual machine images heaven ;) I know there are a lot of tux lovers here and I'm sorry you have to read this ;)

      OTOH, apt-get update; apt-get upgrade liberates me from the awful experiences of using Windows Update

      It got a lot better lately. It doesn't nag you as much, you can schedule it and it won't force you anymore. To be completely fair I always envied Linux to have a central place to get all the software, but seeing how people can't fix their problems by upgrading because their distro doesn't have the new version yet... pros and cons I guess.

      chmod is Unix's way of saying "If you don't know what you're doing leave my files alone".

      It's been a while, but isn't that required when you download anything executable from the web?

      J 1 Reply Last reply 7 Oct 2019, 08:33
      0
      • C Chris Kawa
        6 Oct 2019, 09:50

        @JonB I think you're describing the state of the world as it was something like 20 years ago... Go ahead and go to a coffee shop on the corner and convince the young mother with three kids clicking away on her ipad with her designer made fingernail to read man pages... or the scarf and beard equipped "artist" with his fruit machine... what you described is just not the world we live in anymore...

        Computers were meant for a few people only (like me) to understand and be paid a lot of money to operate, not for the Great Unwashed.

        A bit of nostalgia there, huh? I get you, good times. Well... welcome to 21st century I guess :) Things have long since worked that way.

        @JonB said in The only Linux commands you need:

        I see the Windows environment as the harsh, painful one, requiring workarounds & magic. ("You need to go into The Registry for this one, but don't blame us if you lose your whole PC as a consequence.")

        Again I think you're describing the world as it was, not as it is and has been for the past decade or so. I don't remember the last time I had to change something in the registry. Usually I'm reminded of it because QSettings still uses it as the default storage place for some obsolete reason.

        If you use more than, say, 20 apt-get installs total you have too much disk space

        Trust me, I don't use Linux anymore than I have to so I never have anything on it over the absolute bare minimum needed for what I need to do at that moment. Usually my Linuxes, after I'm done with them, go promptly to a virtual machine images heaven ;) I know there are a lot of tux lovers here and I'm sorry you have to read this ;)

        OTOH, apt-get update; apt-get upgrade liberates me from the awful experiences of using Windows Update

        It got a lot better lately. It doesn't nag you as much, you can schedule it and it won't force you anymore. To be completely fair I always envied Linux to have a central place to get all the software, but seeing how people can't fix their problems by upgrading because their distro doesn't have the new version yet... pros and cons I guess.

        chmod is Unix's way of saying "If you don't know what you're doing leave my files alone".

        It's been a while, but isn't that required when you download anything executable from the web?

        J Offline
        J Offline
        JonB
        wrote on 7 Oct 2019, 08:33 last edited by JonB 10 Jul 2019, 08:39
        #8

        @Chris-Kawa

        Go ahead and go to a coffee shop on the corner and convince the young mother with three kids clicking away on her ipad with her designer made fingernail to read man pages

        At the risk of being shot down in flames.... What "young mother with three kids" has time to go to a coffee shop, or even to designer-decorate her fingernails? Not the ones I know... ;-) However, I do know semi-middle-aged mothers (with older children) who have pressed to install Windows software and now can no longer use their PC till I go round to sort it out! :)

        K 1 Reply Last reply 7 Oct 2019, 11:47
        0
        • J JonB
          7 Oct 2019, 08:33

          @Chris-Kawa

          Go ahead and go to a coffee shop on the corner and convince the young mother with three kids clicking away on her ipad with her designer made fingernail to read man pages

          At the risk of being shot down in flames.... What "young mother with three kids" has time to go to a coffee shop, or even to designer-decorate her fingernails? Not the ones I know... ;-) However, I do know semi-middle-aged mothers (with older children) who have pressed to install Windows software and now can no longer use their PC till I go round to sort it out! :)

          K Offline
          K Offline
          kshegunov
          Moderators
          wrote on 7 Oct 2019, 11:47 last edited by kshegunov 10 Jul 2019, 11:47
          #9

          https://www.youtube.com/watch?v=EmCA7EwE3rY

          @JonB said in The only Linux commands you need:

          At the risk of being shot down in flames....

          Wish granted: https://www.youtube.com/watch?v=RrSkhiKPFyk ;)

          What "young mother with three kids" has time to go to a coffee shop, or even to designer-decorate her fingernails? Not the ones I know... ;-)

          Oh, don't be pathetically naive. Mothers used to go to the field and nurse there in between the hard labor, so nowadays young mothers have it real tough, so much so I'm about to cry. Many of the young mothers I've known and have observed have half their time free, sipping coffee and smoking chatting up other young mothers, while their hubby is killing himself at some dead-end job. So much for gender parity ...

          Read and abide by the Qt Code of Conduct

          J 1 Reply Last reply 8 Oct 2019, 07:35
          0
          • F Offline
            F Offline
            fcarney
            wrote on 7 Oct 2019, 16:24 last edited by
            #10

            For a non developer end user I would say Linux is more complicated for some things. If for whatever reason they need to go to the command line then this can be scary and intimidating. I would say for regular OS things Linux requires more command line than Windows. As most things Windows can be done through configuration dialogs.

            For developers I would say it is about the same. I generally use the command line while developing in both OSes about the same amount. git, grep (git grep in windows), make, etc.

            For long term however, learning Linux tends to make you better at maintaining all OSes IMO. You learn to dig into the information a bit better. Maybe man pages are huge factor here.

            I prefer installing libs through package managers though. It is just so much cleaner and easier to automate.

            C++ is a perfectly valid school of magic.

            J 1 Reply Last reply 8 Oct 2019, 06:07
            0
            • F fcarney
              7 Oct 2019, 16:24

              For a non developer end user I would say Linux is more complicated for some things. If for whatever reason they need to go to the command line then this can be scary and intimidating. I would say for regular OS things Linux requires more command line than Windows. As most things Windows can be done through configuration dialogs.

              For developers I would say it is about the same. I generally use the command line while developing in both OSes about the same amount. git, grep (git grep in windows), make, etc.

              For long term however, learning Linux tends to make you better at maintaining all OSes IMO. You learn to dig into the information a bit better. Maybe man pages are huge factor here.

              I prefer installing libs through package managers though. It is just so much cleaner and easier to automate.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 8 Oct 2019, 06:07 last edited by
              #11

              @fcarney For me as developer the Windows CMD is scary! There is a reason why Microsoft finally started to improve it (after how many decades?).
              To be honest I don't want to develop on Windows ever again! I'm happy I can develop on Linux - it is way better for software development than Windows in my opinion (I was developing on Windows in the past also). Being able to use command line is one of the basic abilities of a software developer in my opinion - and here Linux/UNIX shine :-) On my Linux development machine I don't care much about fancy UI, it's simple and light XFCE with a terminal with many tabs, IDE, browser...

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • K kshegunov
                7 Oct 2019, 11:47

                https://www.youtube.com/watch?v=EmCA7EwE3rY

                @JonB said in The only Linux commands you need:

                At the risk of being shot down in flames....

                Wish granted: https://www.youtube.com/watch?v=RrSkhiKPFyk ;)

                What "young mother with three kids" has time to go to a coffee shop, or even to designer-decorate her fingernails? Not the ones I know... ;-)

                Oh, don't be pathetically naive. Mothers used to go to the field and nurse there in between the hard labor, so nowadays young mothers have it real tough, so much so I'm about to cry. Many of the young mothers I've known and have observed have half their time free, sipping coffee and smoking chatting up other young mothers, while their hubby is killing himself at some dead-end job. So much for gender parity ...

                J Offline
                J Offline
                JonB
                wrote on 8 Oct 2019, 07:35 last edited by
                #12

                @kshegunov said in The only Linux commands you need:

                Oh, don't be pathetically naive. Mothers used to go to the field and nurse there in between the hard labor, so nowadays young mothers have it real tough, so much so I'm about to cry. Many of the young mothers I've known and have observed have half their time free, sipping coffee and smoking chatting up other young mothers, while their hubby is killing himself at some dead-end job. So much for gender parity ...

                I was really careful about how I phrased my (potentially controversial) comment. I would not have dared to write as you have written here! :)

                So your sentiment is that young mothers should basically give birth in an Internet cafe while typing man to learn Linux commands? ;-)

                K 1 Reply Last reply 8 Oct 2019, 08:54
                1
                • J JonB
                  8 Oct 2019, 07:35

                  @kshegunov said in The only Linux commands you need:

                  Oh, don't be pathetically naive. Mothers used to go to the field and nurse there in between the hard labor, so nowadays young mothers have it real tough, so much so I'm about to cry. Many of the young mothers I've known and have observed have half their time free, sipping coffee and smoking chatting up other young mothers, while their hubby is killing himself at some dead-end job. So much for gender parity ...

                  I was really careful about how I phrased my (potentially controversial) comment. I would not have dared to write as you have written here! :)

                  So your sentiment is that young mothers should basically give birth in an Internet cafe while typing man to learn Linux commands? ;-)

                  K Offline
                  K Offline
                  kshegunov
                  Moderators
                  wrote on 8 Oct 2019, 08:54 last edited by
                  #13

                  @JonB said in The only Linux commands you need:

                  I was really careful about how I phrased my (potentially controversial) comment.

                  Me too, I went light on you, I know you're unused to such speech.

                  I would not have dared to write as you have written here! :)

                  Well, east-of-eden political correctness isn't much of a thing. I call it as I see it, and as you can tell I don't like holding back.

                  So your sentiment is that young mothers should basically give birth in an Internet cafe while typing man to learn Linux commands? ;-)

                  No, my argument is that your argument about young mothers not having designer fingernails, or facebooking over their ipads is wrong. I'm far from the idea that people should give birth at the field, which they used to, but I also despise putting childbirth as an excuse for not doing any job/work for ages (3 years around here) and complaining what hard work raising kiddos is. It's work, no doubt, but it ain't hard labor.

                  Read and abide by the Qt Code of Conduct

                  J 1 Reply Last reply 8 Oct 2019, 09:28
                  0
                  • K kshegunov
                    8 Oct 2019, 08:54

                    @JonB said in The only Linux commands you need:

                    I was really careful about how I phrased my (potentially controversial) comment.

                    Me too, I went light on you, I know you're unused to such speech.

                    I would not have dared to write as you have written here! :)

                    Well, east-of-eden political correctness isn't much of a thing. I call it as I see it, and as you can tell I don't like holding back.

                    So your sentiment is that young mothers should basically give birth in an Internet cafe while typing man to learn Linux commands? ;-)

                    No, my argument is that your argument about young mothers not having designer fingernails, or facebooking over their ipads is wrong. I'm far from the idea that people should give birth at the field, which they used to, but I also despise putting childbirth as an excuse for not doing any job/work for ages (3 years around here) and complaining what hard work raising kiddos is. It's work, no doubt, but it ain't hard labor.

                    J Offline
                    J Offline
                    J.Hilk
                    Moderators
                    wrote on 8 Oct 2019, 09:28 last edited by
                    #14

                    @kshegunov said in The only Linux commands you need:

                    No, my argument is that your argument about young mothers not having designer fingernails, or facebooking over their ipads is wrong. I'm far from the idea that people should give birth at the field, which they used to, but I also despise putting childbirth as an excuse for not doing any job/work for ages (3 years around here) and complaining what hard work raising kiddos is. It's work, no doubt, but it ain't hard labor.

                    you have to see that in relation.
                    The education methods on how to raise once children have changed drastically. People used to tie their offspring to poles in their garden while they worked.

                    The hands off, friend > parent style that is more common theses days, makes raising your child a much harder task.


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    J K 2 Replies Last reply 8 Oct 2019, 09:33
                    0
                    • J J.Hilk
                      8 Oct 2019, 09:28

                      @kshegunov said in The only Linux commands you need:

                      No, my argument is that your argument about young mothers not having designer fingernails, or facebooking over their ipads is wrong. I'm far from the idea that people should give birth at the field, which they used to, but I also despise putting childbirth as an excuse for not doing any job/work for ages (3 years around here) and complaining what hard work raising kiddos is. It's work, no doubt, but it ain't hard labor.

                      you have to see that in relation.
                      The education methods on how to raise once children have changed drastically. People used to tie their offspring to poles in their garden while they worked.

                      The hands off, friend > parent style that is more common theses days, makes raising your child a much harder task.

                      J Offline
                      J Offline
                      JonB
                      wrote on 8 Oct 2019, 09:33 last edited by
                      #15

                      @J-Hilk said in The only Linux commands you need:

                      People used to tie their offspring to poles in their garden while they worked.

                      Those were the days! :) Sigh....

                      1 Reply Last reply
                      0
                      • J J.Hilk
                        8 Oct 2019, 09:28

                        @kshegunov said in The only Linux commands you need:

                        No, my argument is that your argument about young mothers not having designer fingernails, or facebooking over their ipads is wrong. I'm far from the idea that people should give birth at the field, which they used to, but I also despise putting childbirth as an excuse for not doing any job/work for ages (3 years around here) and complaining what hard work raising kiddos is. It's work, no doubt, but it ain't hard labor.

                        you have to see that in relation.
                        The education methods on how to raise once children have changed drastically. People used to tie their offspring to poles in their garden while they worked.

                        The hands off, friend > parent style that is more common theses days, makes raising your child a much harder task.

                        K Offline
                        K Offline
                        kshegunov
                        Moderators
                        wrote on 8 Oct 2019, 11:22 last edited by kshegunov 10 Aug 2019, 11:24
                        #16

                        @J-Hilk said in The only Linux commands you need:

                        you have to see that in relation.

                        I do, and I specifically noted the relation in my last sentence.

                        The education methods on how to raise once children have changed drastically. People used to tie their offspring to poles in their garden while they worked.

                        Not where I come from. My grandma was left caring for the infants while her parents were working, because having something to eat is more important than being there for your kid all the time, the first one is needed to live through. My grandfather was sent to collect the straw for the animals (alone!) with their mule after he returned from school (1-4th grade). I don't claim this is right, again, it's how things were. So forgive me for not getting teary when a mother of new complains their partner works too much and she's left with all the child care ... I can hardly believe that the guy wants to work 10 or more hours, but I imagine bringing food and shelter, and ipads and designer fingernails is deemed important enough.

                        I realize I must come as a chauvinistic pig, but really I'm not sexist, I just hate hypocrisy. The current state of the debate is that women are discriminated because of their gender, and that thicks me off. It used to be the case, but it isn't anymore. Historically men have taken the most dangerous and most demanding jobs, and they still do, due to simple biology. We are stronger and faster (due to hormones) and after we seed the field, excuse the vulgarity, we are much more expendable. So when I hear that women are misrepresented in say managerial position (which in my conservative country counterintuitively they aren't, as a matter of fact we have one of the best scores in that regard in the EU), I can't help but wonder why the activists aren't concerned that women are misrepresented in construction jobs or welding, or metallurgy or mining. You can't have it both ways, sorry. And don't get me wrong, I don't defend discrimination, but from an equation of a billion variables some people have picked one and made conclusions. Conclusions that are wrong and that have inevitably crept in into policy and law.
                        Equal representation is myth, a chimera, that's not equity, it's equality, and Animal Farm makes a great example of what equality looks like. Equal opportunity on the other hand is ultimately desirable and right. And by the way it's already the law. What people should realize is that left to their own devices, people, men and women, are ultimately free to make their own different choices.

                        The hands off, friend > parent style that is more common theses days, makes raising your child a much harder task.

                        You can't be a friend with your child, sorry. Friends implies equality and you're not really equal with your offspring, you're their parent.

                        Read and abide by the Qt Code of Conduct

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          fcarney
                          wrote on 8 Oct 2019, 14:05 last edited by
                          #17

                          Linux commands -> Windows commands suck -> social justice -> Animal Farm

                          Makes complete sense! LOL
                          Talk about organic conversations.

                          C++ is a perfectly valid school of magic.

                          1 Reply Last reply
                          2
                          • C Online
                            C Online
                            Chris Kawa
                            Lifetime Qt Champion
                            wrote on 8 Oct 2019, 15:19 last edited by
                            #18

                            Talk about organic conversations.

                            Yeah, you guys are easily triggered :) I only meant to say computers are not just for nerds anymore. I didn't expect the Spanish inquisition...

                            J 1 Reply Last reply 8 Oct 2019, 15:41
                            2
                            • C Chris Kawa
                              8 Oct 2019, 15:19

                              Talk about organic conversations.

                              Yeah, you guys are easily triggered :) I only meant to say computers are not just for nerds anymore. I didn't expect the Spanish inquisition...

                              J Offline
                              J Offline
                              JonB
                              wrote on 8 Oct 2019, 15:41 last edited by
                              #19

                              @Chris-Kawa
                              Nobody expects The Spanish Inquisition....

                              K 1 Reply Last reply 8 Oct 2019, 19:19
                              4
                              • J JonB
                                8 Oct 2019, 15:41

                                @Chris-Kawa
                                Nobody expects The Spanish Inquisition....

                                K Offline
                                K Offline
                                kshegunov
                                Moderators
                                wrote on 8 Oct 2019, 19:19 last edited by
                                #20

                                It wouldn't be worth its salt as an Inquisition otherwise, would it? :)

                                @Chris-Kawa said in The only Linux commands you need:

                                Yeah, you guys are easily triggered

                                Yep, sorry about that. But my bud walked head first into that one, voluntarily no less.

                                Read and abide by the Qt Code of Conduct

                                1 Reply Last reply
                                1
                                • F Offline
                                  F Offline
                                  fcarney
                                  wrote on 8 Oct 2019, 22:44 last edited by
                                  #21

                                  THAT IS IT! GET THE COMFY CHAIR!!!

                                  C++ is a perfectly valid school of magic.

                                  K 1 Reply Last reply 9 Oct 2019, 09:14
                                  1
                                  • J Offline
                                    J Offline
                                    J.Hilk
                                    Moderators
                                    wrote on 9 Oct 2019, 06:41 last edited by
                                    #22

                                    I don't really want to derail this any further 😉

                                    Talk about organic conversations.

                                    So let me just say:
                                    alt text


                                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                                    Q: What's that?
                                    A: It's blue light.
                                    Q: What does it do?
                                    A: It turns blue.

                                    1 Reply Last reply
                                    1
                                    • F fcarney
                                      8 Oct 2019, 22:44

                                      THAT IS IT! GET THE COMFY CHAIR!!!

                                      K Offline
                                      K Offline
                                      kshegunov
                                      Moderators
                                      wrote on 9 Oct 2019, 09:14 last edited by
                                      #23

                                      @fcarney said in The only Linux commands you need:

                                      THAT IS IT! GET THE COMFY CHAIR!!!

                                      No popcorn?

                                      sad

                                      Read and abide by the Qt Code of Conduct

                                      1 Reply Last reply
                                      1

                                      15/23

                                      8 Oct 2019, 09:33

                                      • Login

                                      • Login or register to search.
                                      15 out of 23
                                      • First post
                                        15/23
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved