The nice command is (usually) built-in to your shell, so check your shell's documentation for proper command syntax. The nice(1) man page documents the /usr/bin/nice program which is used for those shells (sh!) that don't have nice built-in. I suspect you are using csh or tcsh, in which case the syntax is nice [+number] [command]