need a help to get a script:
bash # ./xx.sh
>> count
567
script will run the xx.sh and it will go to >> then run "count"
will get the result "567" and print it
need a help to get a script:
bash # ./xx.sh
>> count
567
script will run the xx.sh and it will go to >> then run "count"
will get the result "567" and print it
There may be a language barrier here, but I have no idea what you are trying to do.
Please use CODE tags!
If you just want to print the result "567", one way to do it is:
echo 567
The script that you provided:
bash # ./xx.sh
>> count
567
will start an interactive bash shell.
When you exit that shell, it will create a file named count if it didn't already exist.
Then it will try to run a command named 567.
no no.ok i am expaling again.....
i want when >> will come script will print "count "
When exactly >> will come?
after running xx.sh .this is my prompt sign >>
Finally... what does xx.sh contains?
it is just a script ........
---------- Post updated at 02:34 AM ---------- Previous update was at 02:32 AM ----------
if i will run dis then it will gv >> , then i have run some coomand.....which will gv some value .i want to print that value..........\
echo ">> $VALUE"