3 ms·
The purpose of a shell script it's to do things in the shell that are best suited to the shell. Trying to use Python for that is fine, everyone prefers somethin
by ok_dad 5y ago
The purpose of a shell script it's to do things in the shell that are best suited to the shell. Trying to use Python for that is fine, everyone prefers something different, but I already use the terminal for things like changing directories, 'ls', and etc, so it's easier for me to just write a shell script versus trying to figure out how to do it in Python, even if I use Python for work. The same question could be said of any other language you use daily: why not use Go or Java for the same things? The answer is that people do use those tools! It's basically individual preference, imo.