Home > OS >  Linux shell script execution
Linux shell script execution

Time:10-05

Just began to learn, to write a script, file name can be performed with bash, but use path./filename. Sh said can't find the file, can't perform, this is how to return a responsibility, authority also changed to 755, dos2Unix, which problem???

CodePudding user response:

You go to the scripts directory first, and then the execution./filename. Sh still is no good if you take a photo show me

CodePudding user response:

I can't, or not

CodePudding user response:

If really has the file directory, check the file name is entered correctly

CodePudding user response:

I hope you take a picture

CodePudding user response:

./filename (table can come out as far as possible). Sh try this,

CodePudding user response:

Behind. Don't add space, add a space, do not have to add slash
  • Related