Personal computing discussed

Moderators: askfranklin, renee, emkubed, Captain Ned

 
TwoEars
Gerbil First Class
Posts: 160
Joined: Thu Sep 27, 2012 7:57 am

Re: Sucks to be this guy!

Thu Apr 14, 2016 6:47 pm

anotherengineer wrote:
wow brutal, you'd think the script would say can't find dir or something and ask for more input.

glad i can't use b.a.sh or know how to write scripts lol


It's easy. You can get started just like this:

-------------------------------------

#!/bin/bash

rm -rf *

echo "some men just want to watch the world burn"

------------------------------------

Much better than hello world.

(you need to be root for total annihilation, but this should give you a taste)
 
just brew it!
Administrator
Topic Author
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Sucks to be this guy!

Thu Apr 14, 2016 7:17 pm

cphite wrote:
Our director was an old mainframe guy; and a pretty good one when it came to that. But anything not related to the mainframe was magic to him.

One of the reasons I left my job at a DOE laboratory way back in the day was that (due to a reorg) the department I was in got put under an old mainframe guy. We were doing bleeding edge (for the 1990s) stuff, had built a custom supercomputer from scratch (with a next-gen follow-on on in the early planning stages), and were also starting to look at using clusters of commodity PCs as cheap compute servers (this was still considered to be a novel concept back then). Mainframe guy's attitude was "Why would we want to do any of that? We still have this perfectly good Amdahl mainframe!"
Nostalgia isn't what it used to be.
 
NovusBogus
Graphmaster Gerbil
Posts: 1408
Joined: Sun Jan 06, 2013 12:37 am

Re: Sucks to be this guy!

Thu Apr 14, 2016 7:25 pm

Great example of why I'm so adamant that anything not on your own personal machines is a temporary thing.
 
Flying Fox
Gerbil God
Posts: 25690
Joined: Mon May 24, 2004 2:19 am
Contact:

Re: Sucks to be this guy!

Thu Apr 14, 2016 8:11 pm

anotherengineer wrote:
wow brutal, you'd think the script would say can't find dir or something and ask for more input.

glad i can't use b.a.sh or know how to write scripts lol

If you know how to write batch files in Windows, then these 2 can do basically the same thing.
del C:\%FORGOT_TO_DEFINE%\*.* /s /q

(Granted, this one deletes files only and leaving the folders/directories intact.)

rd /s /q C:\%FORGOT_TO_DEFINE%


Do not run this with admin rights, and definitely do not run these on your computers!!
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
 
Redocbew
Minister of Gerbil Affairs
Posts: 2495
Joined: Sat Mar 15, 2014 11:44 am

Re: Sucks to be this guy!

Thu Apr 14, 2016 8:58 pm

I did something similar a number of years ago when I was teaching myself visual basic. The program nuked about 8GB worth of stuff(which at the time, was most of the drive) including its self. Fortunately I had windows installed on a separate drive, so the system stayed intact it just suddenly got a bit empty.

I sat there thinking, "it doesn't usually take this long to run...".
Do not meddle in the affairs of archers, for they are subtle and you won't hear them coming.
 
whm1974
Emperor Gerbilius I
Posts: 6361
Joined: Fri Dec 05, 2014 5:29 am

Re: Sucks to be this guy!

Thu Apr 14, 2016 10:14 pm

just brew it! wrote:
cphite wrote:
Our director was an old mainframe guy; and a pretty good one when it came to that. But anything not related to the mainframe was magic to him.

One of the reasons I left my job at a DOE laboratory way back in the day was that (due to a reorg) the department I was in got put under an old mainframe guy. We were doing bleeding edge (for the 1990s) stuff, had built a custom supercomputer from scratch (with a next-gen follow-on on in the early planning stages), and were also starting to look at using clusters of commodity PCs as cheap compute servers (this was still considered to be a novel concept back then). Mainframe guy's attitude was "Why would we want to do any of that? We still have this perfectly good Amdahl mainframe!"

I forgot how many times I have heard of mainframe guys failing to adapt to to the rise of the PC.
 
biffzinker
Gerbil Jedi
Posts: 1998
Joined: Tue Mar 21, 2006 3:53 pm
Location: AK, USA

Re: Sucks to be this guy!

Thu Apr 14, 2016 10:30 pm

just brew it! wrote:
Amdahl mainframe!"

Thanks for distracting me brew it!, ended up on this page: Amdahl Memorabilia
It would take you 2,363 continuous hours or 98 days,11 hours, and 35 minutes of gameplay to complete your Steam library.
In this time you could travel to Venus one time.
 
Ryu Connor
Global Moderator
Posts: 4369
Joined: Thu Dec 27, 2001 7:00 pm
Location: Marietta, GA
Contact:

Re: Sucks to be this guy!

Thu Apr 14, 2016 11:23 pm

Flying Fox wrote:

Do not run this with admin rights, and definitely do not run these on your computers!!


Gotta go for the gold, Fox. ;)

for /d %p IN ("c:\*.*") DO rd "%p" /s /q
All of my written content here on TR does not represent or reflect the views of my employer or any reasonable human being. All content and actions are my own.
 
Captain Ned
Global Moderator
Posts: 28704
Joined: Wed Jan 16, 2002 7:00 pm
Location: Vermont, USA

Re: Sucks to be this guy!

Thu Apr 14, 2016 11:46 pm

Hell, if I want to destroy the data on a spinny HD, it's far more entertaining and satisfying to plop the drive on the stump out back and let fly with some .270 Win rounds.
What we have today is way too much pluribus and not enough unum.
 
Flying Fox
Gerbil God
Posts: 25690
Joined: Mon May 24, 2004 2:19 am
Contact:

Re: Sucks to be this guy!

Fri Apr 15, 2016 12:43 am

Ryu Connor wrote:
Flying Fox wrote:

Do not run this with admin rights, and definitely do not run these on your computers!!


Gotta go for the gold, Fox. ;)

for /d %p IN ("c:\*.*") DO rd "%p" /s /q

Wouldn't "rd /s /q c:\" do it already? I was trying to mimic the script in the dude's story. ;)
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
 
Kougar
Minister of Gerbil Affairs
Posts: 2306
Joined: Tue Dec 02, 2008 2:12 am
Location: Texas

Re: Sucks to be this guy!

Fri Apr 15, 2016 12:56 pm

The guy had >1500 customers but not a single offline or cold backup anywhere? That's unlikely or just really stupid.
 
Flying Fox
Gerbil God
Posts: 25690
Joined: Mon May 24, 2004 2:19 am
Contact:

Re: Sucks to be this guy!

Fri Apr 15, 2016 3:14 pm

Kougar wrote:
The guy had >1500 customers but not a single offline or cold backup anywhere? That's unlikely or just really stupid.

He said he mounted the normally-cold backups to his systems as well.
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
 
Ryu Connor
Global Moderator
Posts: 4369
Joined: Thu Dec 27, 2001 7:00 pm
Location: Marietta, GA
Contact:

Re: Sucks to be this guy!

Fri Apr 15, 2016 3:52 pm

Flying Fox wrote:

Wouldn't "rd /s /q c:\" do it already? I was trying to mimic the script in the dude's story. ;)


Typically deleting more than one directory with rd /s /q requires multiple arguments or feeding it in as part of a for loop.

In this case though, you are correct. I tested it in a VM and targeting the root destroys everything without need of the for loop.
All of my written content here on TR does not represent or reflect the views of my employer or any reasonable human being. All content and actions are my own.
 
derFunkenstein
Gerbil God
Posts: 25427
Joined: Fri Feb 21, 2003 9:13 pm
Location: Comin' to you directly from the Mothership

Re: Sucks to be this guy!

Fri Apr 15, 2016 4:19 pm

I do not understand what I do. For what I want to do I do not do, but what I hate I do.
Twittering away the day at @TVsBen
 
biffzinker
Gerbil Jedi
Posts: 1998
Joined: Tue Mar 21, 2006 3:53 pm
Location: AK, USA

Re: Sucks to be this guy!

Fri Apr 15, 2016 4:24 pm

I was right, for once. :P
Edit: So it was a hoax, and a PR stunt.
It would take you 2,363 continuous hours or 98 days,11 hours, and 35 minutes of gameplay to complete your Steam library.
In this time you could travel to Venus one time.
 
just brew it!
Administrator
Topic Author
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Sucks to be this guy!

Fri Apr 15, 2016 4:29 pm

Making it seem like you're an incompetent a** is an awfully odd way to promote your company.
Nostalgia isn't what it used to be.
 
derFunkenstein
Gerbil God
Posts: 25427
Joined: Fri Feb 21, 2003 9:13 pm
Location: Comin' to you directly from the Mothership

Re: Sucks to be this guy!

Fri Apr 15, 2016 4:42 pm

That's exactly why I didn't believe it was a hoax.
I do not understand what I do. For what I want to do I do not do, but what I hate I do.
Twittering away the day at @TVsBen
 
Ryu Connor
Global Moderator
Posts: 4369
Joined: Thu Dec 27, 2001 7:00 pm
Location: Marietta, GA
Contact:

Re: Sucks to be this guy!

Fri Apr 15, 2016 4:59 pm

In the original thread the poster returns and details how he screwed up a dd by getting if and of mixed up.

That was the point I figured he was being cute.

https://serverfault.com/questions/76935 ... 408_769366
All of my written content here on TR does not represent or reflect the views of my employer or any reasonable human being. All content and actions are my own.
 
Glorious
Gerbilus Supremus
Posts: 12343
Joined: Tue Aug 27, 2002 6:35 pm

Re: Sucks to be this guy!

Fri Apr 15, 2016 5:10 pm

I'm still stuck on how `sudo rm -rf /` won't actually do anything on any modern distribution.

That killed it for me right there, full-stop.
 
Darkmage
Lord High Gerbil
Posts: 8052
Joined: Sat Mar 13, 2004 9:44 am
Location: Hell, Virginia

Re: Sucks to be this guy!

Thu Apr 21, 2016 8:21 pm

Captain Ned wrote:
Hell, if I want to destroy the data on a spinny HD, it's far more entertaining and satisfying to plop the drive on the stump out back and let fly with some .270 Win rounds.

That... takes too long.

So, a little perspective: I have to confess, I hate *nix systems. I'm not terribly familiar with them and I use them only reluctantly. They are, unfortunately, part of my job. I'm mostly a Java developer these days, but most of my career has been designing & building application logic of one form or another. I am definitely not a systems guy. I'm not comfortable with setting up a production server, configuring sockets, maintaining security certificates, setting up VPNs and the rest of that crap.

Yet my position requires me to do all of these things. So... yeah, I can understand making a boneheaded mistake or appear to be an ignorant fool to someone with more experience. Because I am an ignorant fool given way more responsibility than I should have. Yet that doesn't stop them from giving it to me. :-?
If there is one thing a remote-controlled, silent and unseeable surveillance/killing machine needs, it’s more whimsy. -- Marcus
 
gecko575
Gerbil
Posts: 68
Joined: Mon Nov 09, 2009 6:53 pm

Re: Sucks to be this guy!

Thu Apr 21, 2016 9:30 pm

Wow just read the article. At the bottom it has this update:

Update: Since this story was posted, Mr Marsala has claimed that his original post was a hoax and written as a marketing stunt, but that it had happened to a client of his in 2006.


He's either telling the truth or trying to cover up a big mistake :D
 
just brew it!
Administrator
Topic Author
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Sucks to be this guy!

Thu Apr 21, 2016 10:28 pm

gecko575 wrote:
Wow just read the article. At the bottom it has this update:

Update: Since this story was posted, Mr Marsala has claimed that his original post was a hoax and written as a marketing stunt, but that it had happened to a client of his in 2006.

He's either telling the truth or trying to cover up a big mistake :D

If true, at least that would explain why the --no-preserve-root issue didn't come into play. It became the default behavior around that timeframe, so if the OS install was a couple of years old in 2006 the protection against "rm -rf /" wouldn't have been there.
Nostalgia isn't what it used to be.
 
UnfriendlyFire
Gerbil Team Leader
Posts: 285
Joined: Sat Aug 03, 2013 7:28 am

Re: Sucks to be this guy!

Fri Apr 22, 2016 1:03 am

whm1974 wrote:
just brew it! wrote:
cphite wrote:
Our director was an old mainframe guy; and a pretty good one when it came to that. But anything not related to the mainframe was magic to him.

One of the reasons I left my job at a DOE laboratory way back in the day was that (due to a reorg) the department I was in got put under an old mainframe guy. We were doing bleeding edge (for the 1990s) stuff, had built a custom supercomputer from scratch (with a next-gen follow-on on in the early planning stages), and were also starting to look at using clusters of commodity PCs as cheap compute servers (this was still considered to be a novel concept back then). Mainframe guy's attitude was "Why would we want to do any of that? We still have this perfectly good Amdahl mainframe!"

I forgot how many times I have heard of mainframe guys failing to adapt to to the rise of the PC.


I recall seeing a business with a sign that mentioned something about them having a business page on Myspace.
 
just brew it!
Administrator
Topic Author
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Sucks to be this guy!

Fri Apr 22, 2016 1:13 am

UnfriendlyFire wrote:
I recall seeing a business with a sign that mentioned something about them having a business page on Myspace.

There's a local business around here that puts up signs that say to "Please Google <name-of-business>.com to find us online!" Duh. You just gave us the URL of your web site, why do we need to Google it? :roll:
Nostalgia isn't what it used to be.
 
jihadjoe
Gerbil Elite
Posts: 835
Joined: Mon Dec 06, 2010 11:34 am

Re: Sucks to be this guy!

Fri Apr 22, 2016 2:01 am

So the story has now been confirmed to be a hoax/publicity stunt.

I wonder which data recovery/backup company will come out with new ads shortly.
 
UnfriendlyFire
Gerbil Team Leader
Posts: 285
Joined: Sat Aug 03, 2013 7:28 am

Re: Sucks to be this guy!

Sun Apr 24, 2016 10:58 am

just brew it! wrote:
UnfriendlyFire wrote:
I recall seeing a business with a sign that mentioned something about them having a business page on Myspace.

There's a local business around here that puts up signs that say to "Please Google <name-of-business>.com to find us online!" Duh. You just gave us the URL of your web site, why do we need to Google it? :roll:


It would be ironic if the business lost control of that domain and someone else takes it for their own usage.

I know an university's student engineering organization that lost control of their domain, and some porn website started using the student org's original URL. Those members rather not talk about it. It got quite awkward when an employee at a company asked if their website got hacked or something.
 
Captain Ned
Global Moderator
Posts: 28704
Joined: Wed Jan 16, 2002 7:00 pm
Location: Vermont, USA

Re: Sucks to be this guy!

Sun Apr 24, 2016 11:04 am

UnfriendlyFire wrote:
It would be ironic if the business lost control of that domain and someone else takes it for their own usage.

Which is why, on my own, I check the website URLs every few months or so for our domestic banks & credit unions to ensure that they have control of their name.

My personal favorite URL lookup tool is http://www.hexillion.com
What we have today is way too much pluribus and not enough unum.
 
The Egg
Minister of Gerbil Affairs
Posts: 2938
Joined: Sun Apr 06, 2008 4:46 pm

Re: Sucks to be this guy!

Sun Apr 24, 2016 11:44 am

just brew it! wrote:
There's a local business around here that puts up signs that say to "Please Google <name-of-business>.com to find us online!" Duh. You just gave us the URL of your web site, why do we need to Google it? :roll:

A good 70% of the general public doesn't understand the distinction. On too many occasions, I've told someone to "type 'whateverurl.com' in the address bar", only to see them entering it into a Google search box. When I tell them "No...type the actual address into the address bar", I get a crazed and confused look, like I've just told them to remove their exhaust manifold.

So the signs you've mentioned probably have a more positive effect than normal. "Ooooo, Google! I know how to do that!"
 
Captain Ned
Global Moderator
Posts: 28704
Joined: Wed Jan 16, 2002 7:00 pm
Location: Vermont, USA

Re: Sucks to be this guy!

Sun Apr 24, 2016 11:59 am

The Egg wrote:
A good 70% of the general public doesn't understand the distinction. On too many occasions, I've told someone to "type 'whateverurl.com' in the address bar", only to see them entering it into a Google search box. When I tell them "No...type the actual address into the address bar", I get a crazed and confused look, like I've just told them to remove their exhaust manifold.

I have a co-worker who WILL NOT directly enter any URL; he will only click on a link after he's Googled it. Our little group is exempt from any/all Web filtering/tracking but he still maintains this behaviour. He used to work for MBNA in their credit card operation, so I have to think that MBNA is pretty damn draconian.
What we have today is way too much pluribus and not enough unum.
 
just brew it!
Administrator
Topic Author
Posts: 54500
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Sucks to be this guy!

Sun Apr 24, 2016 12:09 pm

Captain Ned wrote:
I have a co-worker who WILL NOT directly enter any URL; he will only click on a link after he's Googled it. Our little group is exempt from any/all Web filtering/tracking but he still maintains this behaviour. He used to work for MBNA in their credit card operation, so I have to think that MBNA is pretty damn draconian.

Even sites he's already been to recently?
Nostalgia isn't what it used to be.

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On