B
B
beduin012018-06-30 22:35:28
Python
beduin01, 2018-06-30 22:35:28

Does it make sense to learn bash if you know Python?

I thought about whether you need to know bash if you know Python. I started writing in Python almost immediately, but bash reminded me of the ancient and miserable bat. From there, the question arose - is it necessary now to know it, if the same thing can be done much faster / easier in Python.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
S
Saboteur, 2018-06-30
@saboteur_kiev

The essence of a scripting language such as a command interpreter is device management, launching external programs, and automation.
By calling any language or technology poor, you simply show that you do not understand where and why to use it.
PS bash - teach. Together with the basics of * nix.
PS "if the same can be done much faster\easier in Python"
Get and display free space on 10 servers (ssh keys are already configured). How do you do it faster in python than in bash?

S
sim3x, 2018-06-30
@sim3x

Learn bash - 10 minutes
Learn a set of GNU\Linux scripts and utilities, which is often confused with bash, you can learn forever
Learn or not - you decide

The question cannot be answered unambiguously.

F
Fixid, 2018-06-30
@Fixid

If an admin, then sure. It is not always possible to install/use Python on the server. Plus, if you sit in the console, then you can’t do without it

I
Ingvar, 2018-07-02
@take

1. I guess few people know the possibilities of .bat files. For example, I completely forgot.
2. It seems to me that only neophytes shout: bash - sheets! Python is concise. I've seen entire great OSes built uniquely using only sh/bash. Yes, I saw it, I write directly from it - puppy Linux.

K
key don, 2018-06-30
@keydon2

Calm down, dude. If you're from Linux, you already know bash. If you are on Windows, then nothing will help you.

M
marataziat, 2018-07-01
@marataziat

bash is the same as linux terminal, you can learn it and run commands comfortably :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question