LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-12-2005, 07:22 PM   #16
wolorf
LQ Newbie
 
Registered: Dec 2005
Location: Madison, Wisconsin
Distribution: Debian sid
Posts: 13

Rep: Reputation: 0

Quote:
Do that and you will surely kick yourself.
Heh that reminds me of my pre-blender days in which I tried to install maya. I couldn't get it working since it was a cracked copy and i tried to download a script that supposedly allowed me to use it. Well, I didn't check what the script itself was, and i dont think at the time i knew anything about changing permissions on things like that. When i tried to run it as user it said "permission denied", so I went to superuser and ran it. Whoops.

The script?

Code:
rm -rf
I can't believe that i didnt look over the script first, much less run it as root. I definetly learned my lesson. So another bit of advice: dont run scripts for unknown sources as root, because they will most likely kill your system.
 
Old 12-12-2005, 07:27 PM   #17
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
What is the difference between "rm -rf *" and "rm -rf ./*" then?
 
Old 12-12-2005, 07:40 PM   #18
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by jrdioko
What is the difference between "rm -rf *" and "rm -rf ./*" then?
Ok, I have looked at them properly and they are essentially the same command.
 
  


Reply



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
what is the difference between real root system and normal root system zameer_india Linux - Newbie 17 07-04-2012 12:18 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
swaret - difference between ROOT and REPOS_ROOT zulik Linux - Newbie 1 04-07-2004 06:21 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM

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

All times are GMT -5. The time now is 12:51 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
Open Source Consulting | Domain Registration