What is the difference between Batch and Bash files?

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

What are the differences between Batch and Bash?

How are they being used?

4条回答
  •  青春惊慌失措
    2021-01-30 18:11

    "Batch File" is terminology normally used for a text file containing a sequence of MSDOS shell commands. Bash is a unix shell, and normally the equivalent term for unix to "Batch File" is "Shell Script", or simply "Script".

    I've never heard the term "Bash file", though it makes some logical sense, usually "Shell Script" or "Bash Script" is used instead.

提交回复
热议问题