I am wondering if there is any size, length or even run-time limitations with bash scripts. I am installing php-hiphop on debian squeeze(I know it's not ubuntu but I presumed there were some bash experts hanging around here) on a test server, and there is quite a lot of extra libraries and configuring to do before even attempting to compile hiphop so I plan to make a bash script so that updating other servers will be quicker. I'm pretty new to linux systems, this is actually my first time properly using one, and I have no idea how much or how little bash files can do.
As an example, I have to update gcc to 4.6 which at the make
command is taking 5+ hours, and was wondering even after that long will the bash script be able to continue? I have also noticed one can use multiple bash scripts and use wait
to wait for a command to finish then execute another script, would this be a better approach?
Thanks in advance.