Is the unix shell script equivalent to dos batch command?
Thanks
Is the unix shell script equivalent to dos batch command?
Thanks
Yes, you could do such an analogy
Only sort of. DOS batch language and UNIX shell language are quite different. Batch is actually very primitive -- no looping operators but GOTO and the FOR builtin, quoting doesn't work right, etc, etc. We have many requests about how to "translate" batch files into scripts but it's really comparing apples to oranges, they're not dialects of the same thing.