[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Different methods of running scripts; subshells and exec
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] Different methods of running scripts; subshells and execute privileges |
Date: |
Mon, 24 Aug 2015 10:55:33 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Aug 24, 2015 at 07:35:56AM -0700, Michael Convey wrote:
> - ??????
> bash /path/script
> - sh /path/script
> - ??????
> /path/script.sh
I literally cannot even READ the first and fourth lines of this.
Whatever non-ASCII characters you used are not being rendered in my
poor old Latin-1 terminal.
If you type "bash" then the kernel runs bash.
If you type "sh" then the kernel runs sh.
If you type the scriptname, the kernel runs the script. Running a script
means it launches the interpreter in the shebang line.
- [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/18
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Ken Irving, 2015/08/19
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Greg Wooledge, 2015/08/19
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/19
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Greg Wooledge, 2015/08/19
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/19
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Greg Wooledge, 2015/08/20
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/20
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/24
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges,
Greg Wooledge <=
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/24
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Greg Wooledge, 2015/08/24
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Michael Convey, 2015/08/24
- Re: [Help-bash] Different methods of running scripts; subshells and execute privileges, Greg Wooledge, 2015/08/24