|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Uninstall Script- Need Help! (Mac OSX)
I recently insatlled a package called Darwin Streaming Server.
To uninstall this package, I was told to download the source and in there I found a script called uninstalldss4. The header in this script is #!/bin/sh I'm looking for someone who can tell me how to run this sript? Obviously, I don't know how to run scripts? Any Terminal Tips? Thanks for any help! MacUnkie. ![]() |
|
#2
|
|||
|
|||
|
chmod +x script
./script
__________________
char Locke[] ="\x4c\x6f\x63\x6b\x65"; |
|
#3
|
|||
|
|||
|
Chmod Question
Thanks for your help!
First I cd <dir of uninstalldss4> then I issued chmod +x uninstalldss4 nothing happening.... what is ./script in your reply mean? MacUnkie. ![]() |
|
#4
|
|||
|
|||
|
./uninstalldss4
That will run the script |
|
#5
|
|||
|
|||
|
Login as root?
Thanks.... I'm almost there.
I have the file located in a folder on my desktop. When I issue ./script I get "must be root." I've never understood how to do this. i.e.. root user? MacUnkie. |
|
#6
|
|||
|
|||
|
That means you need to have root(or superuser) privs to run the script.
To run something as root type: sudo script If you have enabled root access in netinfo manager you can login using: su, which will drop you into a root shell and from there you can run the script If you have not enabled root access you can use: sudo -s, which will drop you into a root shell also. |
|
#7
|
|||
|
|||
|
Thanks for all the great help!
It worked! MacUnkie. ![]() |
|
#8
|
|||
|
|||
|
Terminal Question.
Quote:
I enabled root access in my netinfo manager and can now get this prompt: User:~ root# My question is: How do I navigate to my user home dir now? I installed Image Magick and am trying to test the install and conf. To do so requires running scripts. I put my Image Magick folder in my User Home Dir. Thanks for any help! MacUnkie. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Uninstall Script- Need Help! (Mac OSX) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|