UNIX shell implementation