• Security notice: Ernie Ball staff will never send you a direct message about a prize or giveaway, and will never ask you to click a link to "claim" anything.
    If you receive a message like that - even from an account whose name looks official - do not click the link. Please report it using the Report link on the message so the moderators can act. A scam campaign impersonating admin accounts was blocked on 29 July 2026; those accounts are banned and their messages have been deleted.

OT: My Mac,My Older Brother,and some scotch

Psychicpet

Well-known member
Joined
Aug 16, 2003
Messages
3,933
Location
Sylvan Lake, Alberta, Canada
OK, so myself and my two little nuggets are out here in lovely freezing cold Alberta with some gorgeous snow visiting 'Nan' and 'Papa' for a few days (and giving my missus and much deserved break from us all) anywho, my big bro works with computers for a profession and as such knows much more than his own good. So we're lookin' to see if I've got my 'dashboard' display set-up sooo...he's goes into this nifty lookin' little window that resembles a DOS window and types some crap to no avail and then he niftily types something to the effect of " rf-rm* " or something like that and then says, "press enter" ....so I did.... to which he said he was only joking because what I had just done was wipe part of my hard drive clean............... includingreg.'s and cert.'s for ProTools.....................

so you might ask why I mentioned scotch in the title...well, that's what led to the " rf-rm* " tag in the firrst place, anywho, I guess no remote recording this trip.


ahh.... Darg, you ever pull anything like that? or get that pulled on you?? :cool:
 
rm -rf *

UNIX remove recursively force everything.

If done from the / you have destroyed your OS.

If done from inside a directory it empties the directory.


tk
 
tkarter said:
rm -rf *

UNIX remove recursively force everything.

If done from the / you have destroyed your OS.

If done from inside a directory it empties the directory.


tk


well, not entirely true ... you shouldnt have permission to delete "important stuff". if you wanna delete those too you've gotta run sudo rm -rf /
 
You are right.

I think if my brother done something like that to my computer and told me to hit enter he probably wouldn't like me much after all was said and done.


tk
 
What tom said. To further explain:

rm = remove

-r = recursive

-f = force

* = wildcard identifier

So "rm -rf *" means to remove everything in the current directory and all sub directories regardless of permissions.

If you are familiar with UNIX, the terminal is your friend. If not, well...
 
phatduckk said:
well, not entirely true ... you shouldnt have permission to delete "important stuff". if you wanna delete those too you've gotta run sudo rm -rf /


Pete, your brother didn't give you root privileges I hope? :o
 
Desktop Movies Public
Documents Music Sites
Downloads Network Trash Folder TheVolumeSettingsFolder
Library Pictures


That is a paste of what would you could remove in the terminal using the rm command.

That would be everything in your home folder. You own it and can remove it.

From some aspects you may as well have root access and try the from /



tk
 
ya, having much fun :p i think we did do it from just inside a directory and only cacked it 'cause i still do have alot of stuff left BUT it's not entirely bad. the worst is that i lost all my palm daytimer/contacts stuff which had lesson scheduling and which students have paid for how many lessons and what not but that'll be easy enough to remedy. More or less just a good story and some good leverage to get some stuff out of my bro. :D
 
phatduckk said:
na, on mac you cant just su without doing some tricky stuff ... they make you run sudo xxx ... or you could just sudo bash and you can run a new terminal session as root

I know su, what's sudo? I haven't really played with the UNIX much on my mac. Mainly know my UNIX from working with IRIX at work.
 
I only know sudoku. Am I a bad computer engineering student? :(
 
maddog said:
I know su, what's sudo? .

its executes a command as superUser ...

so "apachectl restart" should restart you web server ... normal users shouldnt have permission to do this. so to execute that command as su (a user with sufficient privileges) you can type "sudo apachectl restart"
 
Back
Top