I'm trying to run a bash script named serverloadtest.sh to test a server is performing correctly. However, when I type serverloadtest.sh all I get is 'command not found'. I'm definitely typing the right script name...
Bash script won't run
bash;shell script
In addition to using ./serverloadtest.sh like DisplayName said, make sure your script is executable. If it's not, use chmod to change the permisssions. For example, chmod 755 serverloadtest.sh will give you read/write/exec permissions and others read/exec permissions, or chmod u+x serverloadtest.sh will give you (the owner) exececute permissions in addition to the permissions you already have.