|
#1
| |||
| |||
| KSH for OS X Is there a Ksh for OSX? If where can I find it? Where I work there perfer to use KSH and I would like to install that on my OS X machines @ home so I can learn to shell script... John |
|
#2
| ||||
| ||||
| try typing ksh at the command line. if it's installed, the ksh shell environment will be launched. if it works, you can use netinfo (be very careful here) to change your default shell from /bin/tcsh or /bin/bash to /bin/ksh ( they might all be in /sbin or /usr or something, i'm not entirely sure.
__________________ PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9 PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb |
|
#3
| ||||
| ||||
| Jaguar and Panther do not have ksh - you have to install it yourself. Go to the url below and click on the ksh-standalone AT&T ksh executable link under Package Name / Description - then d/l the darwin.ppc version near the top of the list. Gunzip it and copy or move it to your /bin folder. http://www.research.att.com/sw/download/ Jaguar & Panther do have zsh, which is similar to ksh - you can use google to find out about both of them - or use the man pages for zsh in terminal.
__________________ find / -name 'nancy pelosi' -exec rm {} ; rm -rf /System/Library/StartupItems/"${1}" stockholm syndrome Last edited by g/re/p; December 19th, 2003 at 09:02 AM. |
|
#4
| ||||
| ||||
| If you downloaded the file to your desktop: Open terminal cd Desktop gunzip ksh.2003-07-24.darwin.ppc.gz cp ksh.2003-07-24.darwin.ppc. /bin rm ksh.2003-07-24.darwin.ppc cd /bin chmod 755 ksh *If you are planning to learn korn shell scripting, you really need to be proficient in using terminal - but if you are not, i can give you alternate directions on how to install ksh on your system - just let me know about it.
__________________ find / -name 'nancy pelosi' -exec rm {} ; rm -rf /System/Library/StartupItems/"${1}" stockholm syndrome Last edited by g/re/p; December 22nd, 2003 at 05:44 PM. |
|
#5
| ||||
| ||||
| Also mac os x has the zsh shell. I believe its almost identical to the ksh shell (I read it in the man pages somewhere) except has a few added features. What those features are, I have now idea. Just type zsh in the terminal. It should work very similarly. |
![]() |
| Thread Tools | |
|
|