Assume I have a function.ksh file that contains a function called getServerIp. I don't want to create a new script file and import function.ksh, I just want to run getServerIp from my current shell. As far as I know this is not possible; is there some way I've missed?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
|
|
It's quite possible. Create a directory (let's say Then all you need is to add There are other options too. Please check out: Korn Shell Functions. |
|||||||
|