Tag Archive | "command"

How To Find Out What’s Locking Files or Folders in Mac

Wednesday, August 25, 2010

1 Comment

One of the first problems that I came across the Mac was the “File in use” error that occurred whenever I tried to unmount a hard drive, or unmount a USB thumb drive. It was annoying because I didn’t know how to find the source. In Windows, I would face the same problem too, but [...]

Continue reading...

How To Restart The Dock In Mac OS When It Crashes

Thursday, April 22, 2010

2 Comments

Just the other day I was running a whole load of applications on my Macbook Pro, and I saw my memory usage and CPU usage spike up (it was due to a couple of Adobe AIR applications – Mac OS tends to be bad at running Flash and AIR). And right about then, I had [...]

Continue reading...

How To Batch Unzip A Series of Sequential Zip Files In Mac OSX

Wednesday, February 24, 2010

3 Comments

I recently got a bunch of zip files, some sequential (X1.zip, X2.zip, etc), and others not. The thing is, they number in the hundreds, and most contain RAR files within them, and simply extracting each one won’t do. I had to find an automated way to unzip all the zip files, and the utility that [...]

Continue reading...

How To Remove/Uninstall KEXTs In Mac OSX

Tuesday, February 23, 2010

1 Comment

KEXTs are Kernel Extensions, and I realised that a program that I installed in the past (SteerMouse) had left its KEXT behind even though I uninstalled the program. You can see the list of KEXTs in your system at /System/Library/Extensions/, but do note that Mac OSX only loads whichever KEXT is needed. As you can’t [...]

Continue reading...

How To Find The Location Of An Executable Program In The Mac Terminal

Thursday, February 4, 2010

0 Comments

The Mac platform is amazing, and what makes it even more powerful is that it’s running on Unix, so you have the incredible power of bash and the shell terminal at your disposal. For instance, what takes 5 clicks and 30 minutes of your time might just be solved by running one command in Terminal [...]

Continue reading...

How To Reset The MySQL Root User Password and Privileges

Tuesday, January 26, 2010

7 Comments

Problem: I was developing using PHPMyAdmin when I added a new root user (with a host value of %), and removed the rights of the default root user. When you do that, you’ll get a gut-wrenching feel that you just made a huge boo-boo, find that suddenly everything will not work, and kick yourself in [...]

Continue reading...