[CentOS] Real sh? Or other efficient shell for non-interactive scripts
Gordon Messmer
gordon.messmer at gmail.comFri Apr 24 16:47:24 UTC 2015
- Previous message: [CentOS] Real sh? Or other efficient shell for non-interactive scripts
- Next message: [CentOS] Real sh? Or other efficient shell for non-interactive scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/24/2015 03:57 AM, Pete Geenhuizen wrote: > if you leave it out the script will run in whatever environment it > currently is in. I'm reasonably certain that a script with no shebang will run with /bin/sh. I interpret your statement to mean that if a user is using ksh and enters the path to such a script, it would also run in ksh. That would only be true if you "sourced" the script from your shell.
- Previous message: [CentOS] Real sh? Or other efficient shell for non-interactive scripts
- Next message: [CentOS] Real sh? Or other efficient shell for non-interactive scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list