Glad it worked. The unix shell of OSX is much more powerful than the DOS shell of yore. If you liked that you'll really like what you can do with unix. It can be a bit daunting because you're no longer in the hotel lobby with the comfy chairs but rather down in the basement with the plumbing and wires. You can do many things easily but also wreck still quickly. rm -r for remove all recursivly has wiped out whole file systems when run from the wrong location. man is your friend. You can start with man man to get the manual page about the manual page. I also like man -k which lets you search the man page for a keyword and not just a specific command.

CB

On 9/13/11 5:48 AM, Paul Erkens wrote:
Hi Chris Blouche,

That worked like a charm. Thank you very much. This was my very first 
successful experience in terminal and this gives me the feeling that I might 
start to like it when I study the possibilities. I've been a command line user 
because I grew up with ms dos 2.0, and I stayed with it until dos 6.22. I love 
being able to tweak things the way I want them, overcoming the most oftenly 
wanted settings in a gui.

This helped. Thanks again. The old driver stuff is gone and the new one will 
now install perfectly.
Paul.
On Sep 12, 2011, at 11:13 PM, Chris Blouch wrote:

Looks like a shell script. You should be able to run it from the terminal. 
Mmight have to set permissions on it before it will let you. So if the file is 
on your desktop and named uninstall.txt then from terminal you would do 
something like:

cd Desktop
chmod a+x uninstall.txt
./uninstall.txt

Hope that works. It might prompt you for your root password since it's running 
the sudo command (super user do).

CB

On 9/12/11 10:46 AM, Paul Erkens wrote:
Hi list,

I was once using a usb dongle modem to connect to 3g to have wireless internet. 
But no more. However, I would like to uninstall the driver for this modem. I 
got a text file with it, but can I run this, or what should I do with this one? 
Here is the file. Interested to see if you know how to handle it.
#Uninstaller of ZTE Datacard Drver in Mac OS X
#Copyright ZTE Corporation 2006 - 2010
echo "Welcome to use ZTE Datacard."
echo "Now, begining to uninstall ZTE Datacard driver......"

sudo kextunload -v /System/Library/Extensions/ZTEUSBCDCACMData.kext
sudo kextunload -v /System/Library/Extensions/ZTEUSBCDCACMControl.kext


sudo rm -r -f /Library/Modem\ Scripts/ZTE\ USB\ MODEM
sudo rm -r -f /Application/MiniUI
sudo rm -r -f /System/Library/Extensions/ZTEUSBCDCACMData.kext
sudo rm -r -f /System/Library/Extensions/ZTEUSBCDCACMControl.kext

sudo rm -r -f /System/Library/Extensions.kextcache
sudo rm -r -f /System/Library/Extensions.mkext
sudo rm -r -f /System/Library/Caches/com.apple.kernelcaches/
sudo rm -r -f /Library/Receipts/ZTEDatacardDriverInstaller.pkg

echo "......ZTE Datacard driver has Uninstalled successfully."

Greetings and thanks a lot for possible help.
Paul.


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionaries@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionaries@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to