Posts Tagged ‘Mac OS X’

Mac OS X Disk Space Decrease….

November 21, 2009 Leave a comment

A few months ago, i realized that my disk space in my macbook decrease. I thought it caused by installed applications and my datas.

So i moved lot of the datas to my computer and remove unused-applications to increase my disk space. At that time i felt, “Oh Dude, why this tasks only increase a few gigs T.T”

I felt curious, what was the caused of this…?? Xcode??? or ….???

I checked it through Terminal by typing these command as root

# cd /

# du -hd1

Through this command i see that the folder /cores used almost 25G *WEW 😦

there were a lot of files there which prefix is core.xxxx… I didn’t delete it instantly, because i’m afraid whether those files are a filesystem or not… this folder isn’t appear at finder (it’s hidden)

I searched through Google and found that those files are images of the computer memory that are left for debugging reasons after crashes or forced restarts.

Knew that those files aren’t important, i could delete them safely 😀

Just Open the terminal, and switched as root then fype these commands :

# cd /cores/

# rm -rf *

Done…. ^^

Change Network Interface MAC Adress in MAC OS X

August 2, 2008 6 comments

I’ve found that there is an easy way to spoof your Network Interface MAC Address…

Why we spoof the MAC Adress…??

Spoof MAC address is used when we need to be another computer…

For example… My ISP has a policy to customer, so only registered computer MAC Adress can be connected to the internet…. So when you connected the cable to other devices like your notebook…

Your notebook can’t access the internet…

It can be solved by spoofing your Network INterface MAC Address ( in this example i use device en0/ LAN)

Go to Terminal in Applications > Utilities > Terminal

16:~ hanskristian$ sudo -s


16:~ root#

Now You’ll be root in the system

Check your Network interface

16:~ root# ifconfig -l

this command will list your network interface… in this example i use en0 interface

16:~ root# ifconfig en0 ether XX:XX:XX:XX:XX:XX

change XX:XX:XX:XX:XX:XX with your new MAC Address ( In this case i change my notebook mac adress with my computer ehternet mac address)

your network interface will have new MAC adress, check it by this command

16:~ root# ifconfig en0 | grep ether

nb: the changes aren’t permanent, if you reboot your macbook.. The spoofed MAC Adress will be removed..