LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   is the syntax NUM_NODES=`cat $PBS_NODEFILE |wc -l` correct? (https://www.linuxquestions.org/questions/linux-newbie-8/is-the-syntax-num_nodes%3D%60cat-%24pbs_nodefile-%7Cwc-l%60-correct-642639/)

cy163 05-16-2008 08:22 AM

is the syntax NUM_NODES=`cat $PBS_NODEFILE |wc -l` correct?
 
I am learning bash shell programming. the shell keeps giving error message.

Does anyone have any idea on what is wrong.


Thanks you,

Felix

unSpawn 05-16-2008 08:24 AM

What's the error?


All times are GMT -5. The time now is 07:27 PM.