Fedora 21: Command not found

I have a bash script in /home/istvan/myadmin/run-web-server.sh. It has only one line: systemctl start lighttpd.service. I made it executable thru chmod +x and it works fine. Then I run #ln -s /home/istvan/myadmin/run-web-server.sh /usr/local/bin/run-web-server. Link is created without problems. If I run #/usr/local/bin/run-web-server it is executed. But when I type #run-web-server I get 'command not found'. When I type echo $PATH it displays /usr/local/bin among other directories


Source: bash

Leave a Reply