Is there any use for Bash scripting anymore? [closed] Is there any use for Bash scripting anymore? [closed] python python

Is there any use for Bash scripting anymore? [closed]


Among other things, bash is useful when most of what you're doing is communicating and piping between various programs (many of which are also standard). And there are many environments where bash (or at least a POSIX shell) is available but Perl and Python are not.

And of course, you should distinguish between interactive bash and scripted bash. Ubuntu recently switched their default scripted shell (#!/bin/sh) to dash because it was much faster. However, bash has useful interactive features dash does not (zsh is still better, IMHO).


Bash is incredibly useful in system administration, web application deployment, data crunching, automated backups, even getting-things-done day by day management just to name really few of them. I think It's too early for you to judge a "veteran IT soldier" like BASH.

EDIT googling around:

I'd like also to mention that TextMate a successful OS-X program has a lot of Bash machinery inside.


Bash scripts allow you to automate command line tasks by using the same language you would if you type the commands out manually.

Trivial Example to list $PATH

Bash

#!/bin/shecho $PATH

Python

import osprint os.getenv("path")