[zsh/bash] Added validation for octave command