|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu, Xubuntu and Lubuntu. |
|
Thread Tools | Display Modes |
September 30th, 2009 | #1 |
5 Cups of Ubuntu
Join Date: Sep 2009
Location: England
Beans: 25
Ubuntu 11.04 Natty Narwhal
|
Command Line: 'Error: This script must be run with bash'
can someone
please explain why I'm unable to run this file. The error states I need
to use bash but as displayed by 'echo $SHELL' - I am.
root@me-ubuntu:/home/unreal/ut-server# ls -l asu.* -rwxrwxrwx 1 900 900 1119 2002-04-25 00:24 asu.sh root@me-ubuntu:/home/unreal/ut-server# ./asu.sh ./asu.sh: Error: This script must be run with bash root@me-ubuntu:/home/unreal/ut-server# echo $SHELL /bin/bash |
September 30th, 2009 | #2 |
breaker of packages
Join Date: Apr 2009
Location: riding D-Bus
Beans: 8,513
Ubuntu Development Release
|
Re: Command Line: 'Error: This script must be run with bash'
The top of the script starts with:
PHP Code:
__________________
"the network is the computer." ~ John Gage |
September 30th, 2009 | #3 |
Gee! These Aren't Roasted!
|
Re: Command Line: 'Error: This script must be run with bash'
|
September 30th, 2009 | #4 | |
Ubuntu addict and loving it
Join Date: Jan 2006
Location: Sunny Southend-on-Sea
Beans: 5,047
Kubuntu 12.04 Precise Pangolin
|
Re: Command Line: 'Error: This script must be run with bash'
Why not just run
Code:
bash asu.sh
__________________
Quote:
|
|
Bookmarks |
|
|