Hello,
I have a dozen AIX servers, all configured with ksh default. To return to the topic: that's exactly what I said:
Code:
- '. / Shell' and 'sh shell' function
- path '. " is not in the list of executable paths by default
PATH variable is a collection of paths, separated by ':'. So you can run the command shell-being located in the same directory as the command itself, it must add '. " this list of paths, in general, I added the top variable (the order is taken into account).
To test:
Code:
export PATH PATH =".:$ "
After that, it should work for the current shell.
PS: You should call your test command 'foo', 'myscript' or other, but not 'shell' because we do not understand anything and it is improper: your file is a script , not a shell.
Bookmarks