What is the difference between Batch and Bash files?

前端 未结 4 995
别跟我提以往
别跟我提以往 2021-01-30 17:20

What are the differences between Batch and Bash?

How are they being used?

4条回答
  •  伪装坚强ぢ
    2021-01-30 18:20

    Bash is actually a shell in UNIX/Linux. Batch files (or batch jobs) are usually referred to files containing list of commands executed periodically (daily, weekly, etc). You can write batch jobs in any language (example, Python, PHP, Perl, Shell script). Bash shell also supports scripting. So, you can write batch files with Bash scripting also.

    This is a broad idea without dealing with too much intricacies. :)

提交回复
热议问题