LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2014, 08:19 PM   #16
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636

Quote:
Originally Posted by Emerson View Post
Code:
sudo rm -rf /some/directory
The above is absolutely safe command. It will remove /some/directory with all files and subdirectories in it. I have no clue what you are talking about.
The above is NOT what you posted. What you posted is below and there is no mention of any path to a directory. The fact you "have no clue" what I am talking about tells me why you were so quick to tell him to rm -rf without mentioning a path to use.
Quote:
Originally Posted by Emerson View Post
You can get rid of this directory if you use sudo in conjunction with rm -rf command. Be careful with that, it can destroy your installation/files if run on wrong directory. You can use sudo chown to change ownership of this directory and files in it, then you can delete it as your user, much safer.
 
Old 06-06-2014, 08:26 PM   #17
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,960

Rep: Reputation: Disabled
Quote:
You can get rid of this directory if you use sudo in conjunction with rm -rf command. Be careful with that, it can destroy your installation/files if run on wrong directory.
You have a problem reading it?
 
Old 06-06-2014, 08:37 PM   #18
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by Emerson View Post
You have a problem reading it?
No I can perfectly clearly that you do not tell him any path at all. You do say be careful but he used sudo to create a folder so he is obviously a beginner and needs help to do it safely not just a blanket use this but be careful.
 
Old 06-06-2014, 08:40 PM   #19
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,960

Rep: Reputation: Disabled
OK, I'm all wrong and you are all right. No problem, just do not beat your spouse and kids and please call your shrink first thing tomorrow morning. Promise?
 
Old 06-06-2014, 08:41 PM   #20
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,564
Blog Entries: 2

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
Too many beers?
 
Old 06-06-2014, 08:46 PM   #21
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by Emerson View Post
OK, I'm all wrong and you are all right. No problem, just do not beat your spouse and kids and please call your shrink first thing tomorrow morning. Promise?
That just goes to far.
 
Old 06-06-2014, 08:51 PM   #22
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,960

Rep: Reputation: Disabled
These forums are to help people. It can be fun if we make it fun - and still most helpful to those in need of help. This thread is no fun any more. Me quitting.
 
Old 06-06-2014, 08:54 PM   #23
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,564
Blog Entries: 2

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
Talking

I was luck enough to be placed on k3lt01's ignore list supposedly the first and only...
 
Old 06-06-2014, 08:59 PM   #24
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by Emerson View Post
These forums are to help people. It can be fun if we make it fun - and still most helpful to those in need of help. This thread is no fun any more. Me quitting.
Yep and I was being helpful by urging the OP not to use your command as you posted it. I'm not sure it would be fun for the OP if he wrecked all or part of his system just because you posted incomplete information.
 
Old 06-06-2014, 09:04 PM   #25
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 813

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by jamison20000e View Post
I was luck enough to be placed on k3lt01's ignore list supposedly the first and only...
I didn't know that these forums had an ignore list...

Quote:
Too many beers?
Looks like it...
 
1 members found this post helpful.
Old 06-06-2014, 09:08 PM   #26
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,564
Blog Entries: 2

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
I of course have to fallow form rules (so can't tell you what I really think) but could say anything and k3lt01 can't see it, ah bliss!


 
Old 06-07-2014, 05:49 AM   #27
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
k3lt01, I think Emerson clearly stated his warnings, even if I would have suggested not to use the -f option at all. In this way, the system should have asked confirmation for every item before removing it. A little bit annoying if repeated many many times, but absolutely safe. And maybe the rm suggestion could have been avoided in favor of chown, as mentioned later in the same post.

To both of you: please don't let the discussion degenerates and please take in mind that personal attacks are not fair and are not tolerated here at LinuxQuestions. Especially those ones like this:
Quote:
Originally Posted by Emerson View Post
No problem, just do not beat your spouse and kids and please call your shrink first thing tomorrow morning. Promise?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
strange files created in my home directory vandana agarwal Linux - General 1 05-15-2013 02:04 PM
How to find a file which is being written recently in directory of 1000 files? manalisharmabe Linux - Newbie 9 05-13-2012 06:47 PM
[SOLVED] How do we know if some files and folders were added to a directory recently garima721 Linux - General 3 02-13-2012 04:31 AM
files are created in my /home directory sycamorex Linux - Security 3 08-02-2008 04:19 PM
Created new home directory and lost my files jnewby72 Linux - General 4 01-25-2006 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration