How to create a pipe with mknod inside a script

I want to create a pipe to use in oracle exports but it is failing wit this:

Fri Apr 24 08:04:52 AST 2009
export_db_tbsprod.sh[12]: mknod:  not found.
cat: 0652-050 Cannot open /home/oracle/dba/exports/tbsprod_db_pipe.dmp.

rm /home/oracle/dba/exportss/tbsprod_db_pipe.dmp
mknod /home/oracle/dba/exports/tbsprod_db_pipe.dmp p

Open in new window

LVL 8
LindaCAsked:
Who is Participating?
 
woolmilkporcCommented:
Hi,
seems that your PATH doesn't contain /usr/sbin or /etc , the locations of mknod in AIX (/etc/mknod is a link to /usr/sbin/mknod).
Use /usr/sbin/mknod instead of mknod alone, or add /usr/sbin to your PATH variable.
wmp
 
0
 
LindaCAuthor Commented:
I added /usr/sbin to the PATH.
thank you.
0
 
woolmilkporcCommented:
Linda,
thanks, you're always welcome!
Cheers
wmp
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.