Start Classic from the command line

Nov 28, '01 06:18:53PM

Contributed by: davemak

You can start the Classic Environment from the command line (i.e., the Terminal) by typing:

  open -a /System/Library/CoreServices/Classic Startup.app
My default shell in the Terminal is bash, which supports aliases, so I have added the following line to my .profile:
  alias classic='open -a /System/Library/CoreServices/Classic\ Startup.app'
This way, I can start the Classic environment from the Terminal simply by typing classic.

[Editor's note: If you use the default tcsh shell, aliases are also supported (search the site on 'alias' for a few articles). The alias command in tcsh would look like alias classic 'open -a /System/Library/CoreServices/Classic\ Startup.app']

Comments (7)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20011128181853489