Is this possible? For example, determining the version of anaconda:

#+BEGIN_SRC sh :results output
  conda -V | grep "conda"

If I remove the grep part I get no output at all, with it I at least get an Error Output window showing the conda version.


This can be done directly with bash:

 conda -V 2>&1 | grep "conda"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.