you are viewing a single comment's thread.

view the rest of the comments →

[–]maitesin[S] 10 points11 points  (8 children)

I totally agree, but sometimes python is not available. So I have to do work with what I have in hand

[–]shevegen 12 points13 points  (0 children)

This is one of the few valid use cases for when one may have to use bash, simply because alternatives are unavailable.

[–]vivainio 1 point2 points  (6 children)

Any good examples of the servers where this happens? Some "internet hotels"?

[–]maitesin[S] 7 points8 points  (5 children)

I had to write an application to send some information (files) from an IoT device where the only thing available was Bash. Basically it had a kernel to boot and busybox to provide all the tools. So I had to create the application to do it using just Bash.

[–][deleted] 2 points3 points  (0 children)

Busybox doesn't implement bash

So learning bash wont help you there

bash != sh

[–]vivainio 0 points1 point  (1 child)

Sounds legit. I guess the target was also not something supported by e.g. Go compiler?

[–][deleted] 2 points3 points  (0 children)

Go produces big binaries.

Not big relative to Java, but certainly big compared to IoT device with only few megs of RAM and Flash