Jump to content

What not to do...


The Baron
 Share

1 post in this topic

Recommended Posts

I had the idea of writing some shell scripts to help people with installing alc sound etc. I've played around with bash on Slackware and though it's been a while I thought I'd give it a go. My first one line test went ok

#!/bin/sh

cd /System/

 

then I pasted in the first line from Rammjet's excellent tutorial (sudo rm -rf /System/Library/Extensions/AppleHDA.kextcd) but only over the cd part, leaving me with sudo rm -rf /System/Library/Extensions/AppleHDA.kextcd /System/

 

Save the file, ./tesh.sh and after my sudo password started seeing all the System files/ folders in the finder mysteriously dissapearing!!

 

Well, time to hunt out the JaS DVD.

 

Guess I should have paid more attention to sudo rule 2 - #2) Think before you type.

 

Back in 60 mins,

 

Andy.

Link to comment
Share on other sites

 Share

×
×
  • Create New...