On Sat, Oct 4, 2008 at 1:39 PM, Jack Woehr <[EMAIL PROTECTED]> wrote: > Is it maybe builtin to ksh?
ksh doesn't have builtins for cp or rm. > Besides, the error message is probably from a runtime lib, right? Perhaps, but /bin/rm and /bin/cp are staticly linked, so the message would appear in the binary in some form. > Anway: > > $ echo $SHELL > /bin/ksh > $ which rm > /bin/rm > $ ls -l ccreply.rex > -rwxr-xr-x 1 root wheel 4674 Oct 3 12:11 ccreply.rex I presume your current directory is owned by root and not writable by you. > $ whoami > jax > $ rm ccreply.rex > override rwxr-xr-x root/wheel for ccreply.rex? y > rm: ccreply.rex: Invalid character in program Since you're using ksh, try "whence -v cp rm". Philip Guenther