Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. It's a unix thing...

It's a unix thing...

Scheduled Pinned Locked Moved The Lounge
htmlhelpannouncement
11 Posts 8 Posters 0 Views 1 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.
  • C Offline
    C Offline
    charlieg
    wrote on last edited by
    #1

    Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

    Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

    P M R M P 5 Replies Last reply
    0
    • C charlieg

      Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

      Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Ahem. It's in the insider news page already.

      This space for rent

      1 Reply Last reply
      0
      • C charlieg

        Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

        Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #3

        Has this been confirmed? The lack of a company name, and the fact that it appears to be based entirely based on a discussion in a chatroom, make it look like a prank.

        I wanna be a eunuchs developer! Pass me a bread knife!

        C K 2 Replies Last reply
        0
        • M Mark_Wallace

          Has this been confirmed? The lack of a company name, and the fact that it appears to be based entirely based on a discussion in a chatroom, make it look like a prank.

          I wanna be a eunuchs developer! Pass me a bread knife!

          C Offline
          C Offline
          charlieg
          wrote on last edited by
          #4

          You know, I searched the lounge, not the insider. I shall now go to the woodshed for my beating :). Confirmed for this guy? No idea. I do know that all of the unix guys I worked with mapped the rm command to a shell script. Normally, the prompt would be something like "Are you really sure you want to do this?" :) I've seen guys wipe the wrong folders. That damn command is fast, no time taken to calculate how long things will take.

          Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

          1 Reply Last reply
          0
          • M Mark_Wallace

            Has this been confirmed? The lack of a company name, and the fact that it appears to be based entirely based on a discussion in a chatroom, make it look like a prank.

            I wanna be a eunuchs developer! Pass me a bread knife!

            K Offline
            K Offline
            Kevin Marois
            wrote on last edited by
            #5

            Search the Help Wanted ads. If he's there, it's confirmed.

            If it's not broken, fix it until it is

            1 Reply Last reply
            0
            • C charlieg

              Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

              Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

              R Offline
              R Offline
              rriegel
              wrote on last edited by
              #6

              Nothing wrong with "rm -rf" at all if you know what you are doing and paying attention. Unix/Linux does not try to baby you like Windows does, so you have to be careful as root.

              C 1 Reply Last reply
              0
              • R rriegel

                Nothing wrong with "rm -rf" at all if you know what you are doing and paying attention. Unix/Linux does not try to baby you like Windows does, so you have to be careful as root.

                C Offline
                C Offline
                charlieg
                wrote on last edited by
                #7

                Chainsaw with no chain brake. Comes with a big boy warranty, I agree.

                Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                1 Reply Last reply
                0
                • C charlieg

                  Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

                  Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #8

                  The first question that came to my mind was, "what, no recycle bin with an undo option"? Oh yeah, it's Linux. X| Marc

                  Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                  C A 2 Replies Last reply
                  0
                  • M Marc Clifton

                    The first question that came to my mind was, "what, no recycle bin with an undo option"? Oh yeah, it's Linux. X| Marc

                    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                    C Offline
                    C Offline
                    charlieg
                    wrote on last edited by
                    #9

                    You only do it once. :sigh:

                    Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                    1 Reply Last reply
                    0
                    • C charlieg

                      Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent[^] Worked with unix a long time. As soon as you start typing rm -rf..... you should remove your hands from the keyboard.

                      Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                      P Offline
                      P Offline
                      Plamen Dragiyski
                      wrote on last edited by
                      #10

                      charlieg wrote:

                      typing rm -rf

                      We have 20+ options for VMs, partial VMs (like docker) and chroot. rm -rf could be safe.

                      1 Reply Last reply
                      0
                      • M Marc Clifton

                        The first question that came to my mind was, "what, no recycle bin with an undo option"? Oh yeah, it's Linux. X| Marc

                        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                        A Offline
                        A Offline
                        Andreas Mertens
                        wrote on last edited by
                        #11

                        I have to wonder what would happen using the rm command in the new bash shell in Windows 10 Anyone want to try and report back? :laugh:

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups