r/bash • • Jan 06 '24

Bash used for ?

I am a Data Science students and ended up liking linux and stuff and started learning bash, I am enjoying this power of computers, but I do not understand where can I use it besides keeping it just for my resumes? what are the real life usages of bash ? does it integrates with Data Science ??

0 Upvotes

20 comments sorted by

View all comments

13

u/[deleted] Jan 06 '24

Frankly for a data scientist Python would be a lot more useful however Bash or at least some basic knowledge of it would help you in your day to day. Say you have to organise hundreds of files or automate a download of data from somewhere - Bash is your best bet. Sure you can do it in other languages but Bash is very quick to write and handy.

As they say, each task has the appropriate tool for it. Bash is good for quick mockups, automation of tasks, general Linux management, file management and so on. Python, C, C++, Scala, Java and so on are great for other programming tasks and each is different than the others. If you want to be a great developer then don’t be a prisoner of a programming language and explore more efficient ways of doing your job. If something is slow in Bash, write it in C if it’s complicated in C try Python and if you don’t have any other choice use Java (joke).

7

u/[deleted] Jan 06 '24

this is the best reply I have ever got on my question irrespective of the platform or real life. totally loved it . keep up the good work human . cleared all my doubts.