[ale] Stupid Question Time
Lightner, Jeff
JLightner at water.com
Fri Feb 3 11:28:36 EST 2012
Maybe it was "stupid answer" for "stupid question"?
It reminds of the folks that tell you to hit "Atl-F4" when you tell them you're having a problem going to a particular web site.
Hopefully he meant "sudo rm -rf /<directory> and not just "/"!
There are two kinds of Admins:
The kind that have done "rm -rf /" without meaning it.
The kind that lie and say they have never done it.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Geoffrey Myers
Sent: Friday, February 03, 2012 10:54 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Stupid Question Time
gcs8 wrote:
> Sudo rm -rf /
>
> That will fix it but it is the nuke it from orbit fix.
What? You're talking about destroying the whole system. That would
attempt to remove everything under / . You sure you don't want to
rethink that post?
>
> On Feb 3, 2012 9:55 AM, "Jim Kinney" <jim.kinney at gmail.com
> <mailto:jim.kinney at gmail.com>> wrote:
>
> Do a 'ls /media/sdc1' and see if anything is there. If not. no need
> to rmdir. If you plug back in the same drive(s) they will get
> mounted at the same location.
>
> On Fri, Feb 3, 2012 at 9:17 AM, Michael Nolan
> <michaeldnolan at gmail.com <mailto:michaeldnolan at gmail.com>> wrote:
>
> (Sorry about the sleep deprived post last night, misspelled
> words are
> always a dead giveaway the next morning...)
>
> And thanks once again for responses, I know this stuff is simpleton
> level for most of you....
>
> I was reading in another thread about "root" (which was _way_
> over my
> head).... but I'd like to get a critique about the correctness
> of the
> ugly commands below and my thought process in getting rid of the
> offending empty dir's.
>
> Also, is there any way to search the Ale.org archives other than
> using
> Google advanced search or "[target] site:ale.org <http://ale.org>"
>
> mike at Pappy:/media$ rmdir sdc1
> rmdir: failed to remove `sdc1': Permission denied
>
> mike at Pappy:/media$ ls -l
> total 16
> drwxr-xr-x 16 mike mike 4096 2012-02-02 10:15 2T_ext3
> drwxrwxr-x 3 mike mike 0 2012-01-27 08:36 pogoplug
> drwxr-xr-x 2 root root 4096 2012-01-13 21:02 sdc1
> drwxr-xr-x 2 root root 4096 2012-01-13 21:03 sdc3
> mike at Pappy:/media$
>
> Obviously root owns the two dir's
>
> so:
>
> mike at Pappy:/media$ chown mike /media/sdc1
> chown: changing ownership of `/media/sdc1': Operation not permitted
>
> so:
>
> mike at Pappy:/media$ sudo su
>
> root at Pappy:/media#
>
> root at Pappy:/media# rmdir sdc1
> root at Pappy:/media# rmdir sdc3
> root at Pappy:/media# exit
> exit
> mike at Pappy:/media$ ls
> 2T_ext3 pogoplug
> _______________________________________________
> Ale mailing list
> Ale at ale.org <mailto:Ale at ale.org>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
>
>
> --
> --
> James P. Kinney III
>
> As long as the general population is passive, apathetic, diverted to
> consumerism or hatred of the vulnerable, then the powerful can do as
> they please, and those who survive will be left to contemplate the
> outcome.
> - ////2011 Noam Chomsky
>
> http://heretothereideas.blogspot.com/
> ////
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org <mailto:Ale at ale.org>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Athena(r), Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer
---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
More information about the Ale
mailing list