LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Argument passing (https://www.linuxquestions.org/questions/linux-newbie-8/argument-passing-4175418927/)

KaRt 07-27-2012 06:55 AM

Argument passing
 
hi
i write a script like

cat >> "/tmp/zdesk" <<EOF
\n
A
\n
N
EOF
sudo ./install.pl < /tmp/zdesk
rm -rf /tmp/zdesk

its worked but i want to know how its worked.i ll pass the argument from temporary file to my target file . now my target file how to understand this argument comes from the temporary file for first condition,second goes next and so on...

KaRt 07-27-2012 07:09 AM

how to identifi the arugument passing from temporary file to target file
 
hi
i write a script like

cat >> "/tmp/zdesk" <<EOF
\n
A
\n
N
EOF
sudo ./install.pl < /tmp/zdesk
rm -rf /tmp/zdesk

its worked but i want to know how its worked.i ll pass the argument from temporary file to my target file . now my target file how to understand this argument comes from the temporary file for first condition,second goes next and so on...[/QUOTE]


All times are GMT -5. The time now is 09:43 AM.