Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • How do you run the script? What's the command? And what's the exact error message you get? Bash usually prefixes errors related to some file with the file name, doesn't that happen here?
    – ilkkachu
    Commented Feb 13, 2022 at 18:29
  • @ilkkachu I run the script by typing its alias, e.g. tmd ana1/ana2/file where ana1/ana2/ are the directories of the relative path to the file to be created . The error message is bash: /home/jim/CS/Software/Bash/create_md.sh: No such file or directory
    – John Smith
    Commented Feb 13, 2022 at 19:02
  • The error msg edited in lately clearly indicates that with your suspicion (ana1/ana2/file) you're barking up the wrong tree. Your script is missing...
    – RudiC
    Commented Feb 13, 2022 at 19:24
  • Or the #! on the first line of your script is funny.
    – waltinator
    Commented Feb 14, 2022 at 0:29