Pls Help.. Really Urgent

Hi,

I am creating a pipe in a directory $HOME/pipes. The pipename should be
L${PROGNAME}. Whenever i embed these lines in shell script, i get an error
mkfifo: No such file or directory.

I am creating a pipe with the key word
mkfifo $HOME/pipes/L${PROGNAME}.
Please help me how to get rid of that error message.. Its really urgent, pls help

Thanks
Raghavan

  1. What operating system etc.

  2. can you find a program called "mkfifo".

  3. Is it on the path?

  4. What shell are you using? sh, csh, ksh, bash etc.

I am working on the unix OS and K Shell.
The pipe gets created and i dont know why it throws error?

  1. try posting the output from "uname -a", as unix OS doesn't really narrow things down much.

  2. try doing some debugging like...

try a simple script such as

#!/bin/ksh
echo About to create $HOME/pipes/L${PIPENAME}
ls -ld $HOME/pipes/L${PIPENAME}
echo calling mkfifo
mkfifo $HOME/pipes/L${PIPENAME}
RC=$?
echo mkfifo exit code was $?
ls -ld $HOME/pipes/L${PIPENAME}

Thanks porter

If the mkfifo command is not avalaible on your system, you can replace it by the mknod command :

mknod -p $HOME/pipes/L${PIPENAME}