add path environment variable mac

http://hathaway.cc/2008/06/how-to-edit-your-path-environment-variables-on-mac-os-x/

How To Edit Your PATH Environment Variables On Mac OS X

If you are new to Mac OS X, you may need to know how to edit your PATH. The good news is that this is an easy task on Mac OS X.

The recommended way is by editing your .bash_profile file. This file is read and the commands in it executed by Bash every time you log in to the system. The best part is that this file is specific to your user so you won’t affect other users on the same system by changing it.

Step 1: Open up a Terminal window (this is in your Applications/Utilites folder by default)

Step 2: Enter the follow commands:

touch ~/.bash_profile; open ~/.bash_profile

This will open the .bash_profile file in Text Edit (the default text editor included on your system). The file allows you to customize the environment your user runs in.

Step 3: Add the following line to the end of the file adding whatever additional directory you want in your path:

export PATH="$HOME/.rbenv/bin:$PATH"

That example would add ~/.rbenv to the PATH. The $PATH part is important as it appends the existing PATH to preserve it in the new value.

Step 4: Save the .bash_profile file and Quit (Command + Q) Text Edit.

Step 5: Force the .bash_profile to execute. This loads the values immediately without having to reboot. In your Terminal window, run the following command.

source ~/.bash_profile

That’s it! Now you know how to edit the PATH on your Mac OS X computer system. You can confirm the new path by opening a new Terminal windows and running:

echo $PATH

You should now see the values you want in your PATH.

[Updated 2/10/2012] The instructions now use the .bash_profile method of editing your PATH. This is preferred as it keeps the changes specific to your user. I also updated the instructions to use Text Edit instead of vim so it is easier for a beginner.

===============================================================

Step 3. is really important. I accidentally omit $PATH and did source~/.bash_profile.
All my current path was gone!! So, be careful using step 3. below is my real example.

 

export PATH="/usr/local/mysql/bin/:$PATH"

맥 한영전환 shift space

예전엔 바람이라는 한/영 변환 프로그램을 사용했었는데, 

바람을 쓰다 보니까, 불편한 점이 있어서, 맥 자체에 있는 한/영 키보드 전환을 사용해 보려고 찾아보니까…

(바람을 쓸 때 불편한 점: 터미널, 이클립스에서 한영 전환시 한 글자 space가 더 생겨서 back space로 돌아가야 함.)

http://hanury.net/wp/archives/412

에서 방법을 찾게 되었다. 주의할 점은 plist 값 저장시에, 맥의 키보드의 환경 설정을 건드리면, 원래대로 돌아가게 되므로, 혹시 그럴 일이 있다면 맥의 키보드의 환경 설정 변경 후에 다시 plist 를 편집해야 한다.

현재는 Lion에서만 테스트 한 상태임. Mountain Lion은 아직 설치 안한 상태인지라…

방법만 간략히 적자면.

1. ~/Library/Preferences/com.apple.symbolichotkeys.plist

2. 

변경해야할 값은
Root/AppleSymbolicHotkeys/60/value/parameters/2 의 값을
Number : 131072 로 바꿔주고, 재부팅 하면 한영전환이 Shift+Space로 바뀐다.

mac make iso from folder, mac make dmg file, mac convert dmg to iso, Mac burn iso file

Original Post : Mr.Black ( coverboy@1234.co.kr )

Mac make iso from folder
http://adalili.com/2008/05/27/create-iso-image-from-folder-in-mac-os/
It is quite simple in Mac OS, using hdiutil command. For example, you
have a folder naming solaristools on user’s Desktop, and hope to create
a ISO image file for the folder

1. Open terminal window
2. Change current folder to user’s desktop, for example user is “apple”
cd /Users/apple
3. Type following command
hdiutil makehybrid -o solaristools.iso solaristools

A new ISO image “solaristools” will be created on user’s desktop. You
may access to the ISO image as a CD/DVD device in Mac OS later.

Mac make dmg file

http://www.wikihow.com/Make-a-DMG-File-on-a-Mac

Steps

  1. 1

    Create a New Folder and place the files you would like in your disk image into this new folder.

  2. 2

    Right click (or CTRL-Click) the folder and select “Get Info” and note the size of its contents.

  3. 3

    Open Disk Utility (Applications > Utilities > Disk Utility)

  4. 4

    Click the “New Image” icon to create a new disk image. Enter a name for the Image, and select a size adequate for the size of your folder you created in Step 2. Set the encryption to “none” and Format to “read/write disk image.” or “DVD/CD Master.” Alternatively, if all the files you want to add to your image are in a single folder, you can also (at least in Mac OS X 10.6 Snow Leopard) select “New Image > From folder…”.

See Tips to learn how to encrypt the image.


Mac convert dmg to iso
http://osxdaily.com/2007/03/28/easily-convert-dmg-images-to-iso/
1.  If you’ve ever wanted to turn a DMG file into an ISO file, look no further. Perhaps your Mac doesn’t have a writable media drive, or it’s not up to speed, or the multitude of other reasons you’d want to burn an ISO from a PC rather than a DMG on your Mac. Forget downloading the shareware apps that promise to convert DMG files to ISO, you can do it right from Mac OS X’s command line, for free, using the hdiutil command.

hdiutil convert imagefile.dmg -format UDTO -o imagefile.iso

This will actually create a file called imagefile.iso.cdr in the current directory, but you’ll want to change that to just .iso, so type:
mv imagefile.iso.cdr imagefile.iso
That’s all there is to it, now your DMG image file can be burned on any PC with the proper hardware.

Mac burn iso file
http://web.me.com/adg/imageburner/index.html
All above things using gui commercial tool (except burning)
http://www.crystalidea.com/anytoiso