It might help to know what the error is saying and maybe some surrounding code but my first reaction is that $user has a \n in it that need to be chomped. Also, don't you want @PIDS? Peter C. > Hi, I'm getting a syntax error on the following > command > > $PIDS=`ps -ef | grep $user | grep -v grep | cut -b > 10-14`
- error on system command Peter Lemus
- Re: error on system command Me
- Re: error on system command Dan Brown
- Peter Cornelius