adb-shell : /sbin/sh: command: not found
Unlike a desktop GNU/Linux system, Android isn't designed for command-line use, so it doesn't come with the full set of command-line programs that a GNU system would have. It only has the most basic commands (like the ones you've already seen working), and Android-specific utilities such as am, pm, bmgr.

You can get access to the basic POSIX commands (such as less and grep) by installing Busybox. There are several installers for it on Google Play. For any more specialist programs like make, you'll need to find an Android port of the particular program and install it.