# Error when using System.cmd

**URL:** <https://forum.elixirforum.com/t/error-when-using-system-cmd/33642>\
**Category:** Questions\
**Tags:** system\
**Created:** [August 8, 2020, 10:51pm UTC](https://forum.elixirforum.com/t/error-when-using-system-cmd/33642 "2020-08-08T22:51:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![derek-zhou](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/derek-zhou/32/19943_2.png) [@derek-zhou](https://forum.elixirforum.com/u/derek-zhou)\
**Post date:** [August 9, 2020, 3:55am UTC](https://forum.elixirforum.com/t/error-when-using-system-cmd/33642/3 "2020-08-09T03:55:34Z")

</div>

:os.cmd use a shell while System.Cmd doesn’t. In a Unix like os, echo is both a shell builtin and an external command as `/bin/echo` so both should work. Like the other replier guessed you probrably don’t have `/bin/echo`

---

_[View the full topic](https://forum.elixirforum.com/t/error-when-using-system-cmd/33642)._
