Share via

Could not use bash command in the powershell -Reg.

Anonymous
2021-01-27T05:42:22+00:00

Hi,

I would like to install a Perl script-based CIRCOS software for windows 10. But I could not use bash command for installation. I am getting an error when using the command "bash test.modules"

Command prompt:

'bash' is not recognized as an internal or external command,
operable program or batch file.

powershell:

bash : The term 'bash' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

  • bash .\test.modules
  • 
    

    + CategoryInfo          : ObjectNotFound: (bash:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

How to solve this issue?

Thank you and looking forward to hearing from you.

With warm regards,

Raman. G

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2021-01-27T06:41:44+00:00

    Hi Dr.,

    I am Aster, an Independent Advisor and I'm here to help you with your problem.

    Seems like you have to install Bash first. Try instaling Git Windows here: https://git-scm.com/download/win

    Then you install Bash from there. You may refer to the steps in the link below on how to do it:

    https://www.stanleyulili.com/git/how-to-install...

    Then try running your script in the Git Bash terminal again with the bash command to see if it works.

    Let me know if it helps, thank you.

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-01-27T09:45:47+00:00

    Dear Aster,

    I successfully installed Git Windows. But still having an issue. Could you please look onto this.

    circos : The term 'circos' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    At line:1 char:1

    • circos -conf circos.cnf
    • 
      

        + CategoryInfo          : ObjectNotFound: (circos:String) [], CommandNotFoundException

        + FullyQualifiedErrorId : CommandNotFoundException

    Thank you.

    With regards,

    Raman. G

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-01-27T07:12:39+00:00

    Dear Aster,

    Thank you so much for your prompt response and working perfectly. 

    Thank you once again.

    With warm regards,

    Raman. G

    0 comments No comments
  4. Anonymous
    2021-01-27T06:41:51+00:00

    ______________________________________________

    Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.

    0 comments No comments