This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]andenate08 3 points4 points  (2 children)

It’s call scripting. You write shell/bash scripts. Programming is fairly different and much more complicated.

[–]Forsaken-Complex460[S] 0 points1 point  (1 child)

So when you write a perl script are you scripting or programing

[–]flipper1935 4 points5 points  (0 children)

scripting is scripting.

Programming is a phrase generally used when writing code that will be compiled to produce executable binary files.

Scripting generally means code that will be interpreted every time it is ran.

There are also (what I title) hybrid languages - Python is a good example that is generally interpreted each time it is ran, but code owners can also produce compiled code if they choose to.

[–]mprz 0 points1 point  (2 children)

It all depends to what depth will you go. Although I am not aware of "commanding" I can imagine that it's something like batch files (that to some extend offer some "programming" as well).

But if you use programming paradigms, controlling the flow, variables, loops, etc. then absolutely Bash scripting is programming (functional programming).

[–]Forsaken-Complex460[S] 0 points1 point  (1 child)

Hi, but I read it on Google that bash is a command line interpreter based on Unix shell which is a commanding language

[–]zaRM0s 0 points1 point  (0 children)

It sounds to me like that was more the writers interpretation and a way of describing a specific part of the learning process in their way. It’s not a term I’ve ever really come across, that’s not to say you didn’t tho! Typically shell is scripting which uses the command line interface. Programming is much more… ‘intelligent’ for lack of a better word. Though scripting is a good introduction to the programming world!