[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: #!/bin/sh versus #!/bin/bash
- From: "William Hooper" <whooperhsd3 earthlink net>
- To: fedora-list redhat com
- Subject: Re: #!/bin/sh versus #!/bin/bash
- Date: Fri, 9 Jan 2004 18:14:46 -0500 (EST)
Matthew Zimmerman said:
> However, if I modify the poundbang line to call /bin/bash
> instead...
>
> ---
> matt macko ~ $ vim test.sh
> matt macko ~ $ chmod +x test.sh
> matt macko ~ $ cat test.sh
> #!/bin/bash
>
> echo Hello world
> matt macko ~ $ ./test.sh
> ./test.sh: ./test.sh: No such file or directory
Odd.
[whooper butters whooper]$ cat test.sh
#!/bin/bash
echo Hello world
[whooper butters whooper]$ ./test.sh
Hello world
[whooper butters whooper]$ rpm -q bash
bash-2.05b-34
[whooper butters whooper]$
--
William Hooper
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]