LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu terminal disregarding other calculations when changes are made. (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-terminal-disregarding-other-calculations-when-changes-are-made-4175523754/)

ivahbee 10-30-2014 02:02 AM

Ubuntu terminal disregarding other calculations when changes are made.
 
When writing a shell script on my first attempt the terminal was able to execute all the commands from the shell script, but when i realized i made some mistakes i had to change certain things e.g. variable names.
So when i tried running the corrected shell script commands on the terminal again, it gave the answer of the corrected commands but the rest of the unchanged commands were not able to be executed. The terminal just gave a blank space as the answer.

Any advice as to why it is like that?

jdkaye 10-30-2014 02:39 AM

Without seeing the actual script you wrote and seeing the point at which the commands ceased to be executed that would be difficult. Any reason not to post the script?
jdk


All times are GMT -5. The time now is 11:26 AM.