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
  • Thanks. It looks like conda is a function. So it runs a bash scripts that runs conda. I guess they must've changed the set up to make using conda more convenient. Thanks for your help! Commented Feb 10, 2020 at 7:29
  • 5
    Unless you're sure that which is a built in to the shell that you're using it is best to avoid it. The -a option/flag of the builtin type is also useful if you're using bash. Commented Feb 10, 2020 at 9:10
  • So I noticed that after loading in the module the 'which' command tells me that 'conda' is an executable but 'type' tells me that its still a function. Should I trust 'type' more than 'which'? Commented Feb 11, 2020 at 2:17
  • 1
    @Onye Yes, you should. type is a shell built-in, which is an external program. The latter has no access to the shell's method of looking up commands. Commented Feb 11, 2020 at 2:19