Mac OS X

Tutorials, tips, hints, software, and howtos about Apple Mac OS X Unix operating system including MacBook Pro, MacAir, Mac Mini and server edition. ( rss feed )

I know how to send WOL command using Linux or FreeBSD wake command. But, how do I send Wake on LAN (WOL) frames to hosts on a local Ethernet network using Apple OS X operating systems to wake up my servers or nas devices?

{ 2 comments }

I have Mac OS X Mountain Lion. I need to compile a few apps and Perl modules. I already installed Xcode from app store but I’m unable to find gcc compiler or make command. How do I install gcc on Mac OS X 10.8.x?

{ 14 comments }

I‘m setting up server on an Amazon EC2 compute instance powered by Suse Enterprise Linux server. I am using the following command to login into the my EC2 compute from OS X/Ubuntu desktop:

ssh -i suse-ec2-server-jp.pem root@ec2-xx-yy-zzz-yyy.compute-1.amazonaws.com

I am getting the following error:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0440 for 'suse-ec2-server-jp.pem' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: suse-ec2-server-jp.pem
Password:

How do I fix this problem and login using ssh command?

{ 2 comments }

How do I remove a symlink under Apple Mac OS X using bash command line option?

{ 1 comment }

I have aws.sg.pub and ibm.sl.pub file for ssh login. How do I delete ssh key file called ~/.ssh/aws.sg.pub using the terminal on Apple Mac OS X?

{ 0 comments }

I‘m using an external display with a MacBook Pro. I do not want to use the external monitor as a mirrored display. I need to move the dock and the menu bar to external monitor. How do I setup the external monitor as main display?

{ 21 comments }

I need to prevent others using my desktop or laptop while I’m away from it. How do I lock my Laptop (Macbook or Macbook pro) / desktop using Mac OS X operating systems without using 3rd party applications?

{ 17 comments }