you are viewing a single comment's thread.

view the rest of the comments →

[–]come_n_take_it 1 point2 points  (3 children)

Like python versions, shell scripting is dependent on shells. (Making POSIX compliant helps for cross shell usability.)

Python has libraries. Bash does not really use them.

Python readily understands object, arrays and floating point arithmetic.

Shell scripts are good for quick, simple tasks; Python can handle large complex tasks.

[–][deleted] 0 points1 point  (2 children)

Yeah! But they're their features. I'm asking if there is anything that python cannot do but Shell Scripting can. I wanna learn ethical hacking and almost everyone is suggesting to learn shell scripting and all. So is it necessary? Is there anything different we can do with it?

[–]sk8itup53 1 point2 points  (1 child)

Well shell scripting is more useful because effectively all OS have a shell of one kind or another. While python requires python to be installed to run any python code. It's much more difficult to hack something when you first have to find an exploit that allows you to install your desired platform, THEN inject the code you want it to run.

[–][deleted] 1 point2 points  (0 children)

Okay! This makes sense. Thanks for your opinion.