|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
alias ksh --> bash
i set up this alias in ksh:
Quote:
how to i convert this to bash-shell? alias alias TPAS01='. ${DBA_BASE}/bin/oralin.ksh TPAS01' doesn't work. thx a lot |
|
#2
|
|||
|
|||
|
Setting up an alias in ksh is the same as in bash:
alias TPAS01='. ${DBA_BASE}/bin/oralin.ksh TPAS01' Should work in both cases. I use both the bash and korn shell and in both shells I set up my aliasses the same way. |
|
#3
|
|||
|
|||
|
it doesnt work
im working with sun/solaris
i think the ksh and bash-shell have defined varibles in diferent files, but where are/is this file? |
|
#4
|
|||
|
|||
|
[QUOTE}i think the ksh and bash-shell have defined varibles in diferent files, but where are/is this file?[/QUOTE]
Once a alias has been created it becomes part of your (global)environment. To my knowledge it isn't put into a file. Or do you want to know where they are defined in the first place? Like /etc/bash.bashrc, ~/.kshrc and so on? |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > alias ksh --> bash |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|