UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 30th, 2004, 07:17 PM
MacUnkie MacUnkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Vegas.
Posts: 23 MacUnkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MacUnkie
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.

Reply With Quote
  #2  
Old May 30th, 2004, 07:18 PM
Locke Locke is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: USA
Posts: 61 Locke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 sec
Reputation Power: 5
Send a message via AIM to Locke
chmod +x script
./script
__________________
char Locke[] ="\x4c\x6f\x63\x6b\x65";

Reply With Quote
  #3  
Old May 30th, 2004, 07:33 PM
MacUnkie MacUnkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Vegas.
Posts: 23 MacUnkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MacUnkie
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.

Reply With Quote
  #4  
Old May 30th, 2004, 07:35 PM
Locke Locke is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: USA
Posts: 61 Locke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 sec
Reputation Power: 5
Send a message via AIM to Locke
./uninstalldss4

That will run the script

Reply With Quote
  #5  
Old May 30th, 2004, 07:58 PM
MacUnkie MacUnkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Vegas.
Posts: 23 MacUnkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MacUnkie
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.

Reply With Quote
  #6  
Old May 30th, 2004, 08:04 PM
Locke Locke is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: USA
Posts: 61 Locke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 sec
Reputation Power: 5
Send a message via AIM to Locke
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.

Reply With Quote
  #7  
Old May 30th, 2004, 08:12 PM
MacUnkie MacUnkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Vegas.
Posts: 23 MacUnkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MacUnkie
Thanks for all the great help!

It worked!

MacUnkie.

Reply With Quote
  #8  
Old June 2nd, 2004, 01:07 AM
MacUnkie MacUnkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Vegas.
Posts: 23 MacUnkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to MacUnkie
Terminal Question.

Quote:
Originally Posted by Locke
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.


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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Uninstall Script- Need Help! (Mac OSX)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway