Knowledge Base

Blog Faq400

Shell Script (.sh) Bad Interpreter Error: No such file or directory

blog
Last Updated on 23 August 2022 by Roberto De Pedrini Trying to run scripts to manage IBM i Web Services (directory / QIBM / ProdData / OS / WebServices / bin) from a Putty SSH session I get an error ./ myscript.sh: / usr / bin / qsh ^ M: bad interpreter: No such file or directory Doing some research on Google I discover that the problem is due to the “file-format” of the script file. …

Riservato agli iscritti

Per leggere l'articolo completo serve un account Faq400. È gratis, e con lo stesso account fai domande a Willi e leggi tutto l'archivio.

Prova a chiederlo a Willi

Willi risponde usando questo articolo e gli altri contenuti di Faq400, e ti dice da dove prende ogni frase. Serve un account: è gratis.

Chi legge questo, legge anche