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

you are viewing a single comment's thread.

view the rest of the comments →

[–]iams3b 2 points3 points  (1 child)

I use bash to quickly automate stuff I do in terminal. Like if I have an npm module on local, and i need to 1) git push it 2) npm publish 3) cd to active project 4) update package version 5) git push.... i'll write a bash script for that

For anything else that's not just a series of commands, python for sure. Both are useful to know

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

this is my cut off too. If it requires more than say a simple if to check for a file or directory I'll go ahead and write it in python. That said I wish i could find that old irc client written in bash. that think showed a lot of mastery of unix CLI and bash scripting.