Bonjour,
Pouvez-vous me rappeler comment exécuter un script bash s’il vous plait ?
root@localhost:/bin# cd /home/bertrand
root@localhost:/home/bertrand# ls -alt cap\*
\-rw-r--r--. 1 bertrand bertrand 811 1 fév 18:49 capture.sh
root@localhost:/home/bertrand# chmod +x capture.sh
root@localhost:/home/bertrand# ls -alt cap\*
\-rwxr-xr-x. 1 bertrand bertrand 811 1 fév 18:49 **capture.sh**
root@localhost:/home/bertrand# ./capture.sh
\-bash: ./capture.sh : ne peut exécuter : le fichier requis n'a pas été trouvé
root@localhost:/home/bertrand#
pourtant mon fichier existe bien dans /home/bertrand et est exécutable ?
J’ai essayé de le mettre dans /usr/local/bin ne fonctionne pas non plus
merci