Qersh

Search
Skip to content

Monthly Archives: January 2013

configuration file location on MAC OS X for the Terminal (bash)

22/01/2013 Mohammad Al Qersh Leave a comment


/etc/profile

to edit this file

nano /etc/profile

I wanted to add a shortcut for Zend Framework tools. I append this to the end of file

alias zf=/Applications/MAMP/bin/php/php5.4.4/bin/zf.sh

Then CTRL + o to Save
CTROL + x to exit

Edit:

Turns out that the file located at /etc/profile is the global config for BASH, you can use .profile under the user directory.

Mohammad Al Qersh's website

Recent Posts

  • configuration file location on MAC OS X for the Terminal (bash)
  • check if the webcam is working in ubuntu
  • How to install zend tools 1.10 on Ubuntu 10.04
  • Get The Last Inserted ID when using Zend_Db
  • Reset Virtual Box Hard Disk (.VDI) UUID

Recent Comments

  • Boyd Hanson on Reset Virtual Box Hard Disk (.VDI) UUID

Archives

  • January 2013
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010

Categories

  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress