Using The Unix Shell

You can do pretty much everything with Python! Still, there’s a lot of value in becoming proficient on the command line. A well-crafted bash command or script can save hours that you would otherwise spend on coding it yourself (or doing stuff manually!).

The Unix philosophy

The Unix command-line has been around for decades, and it’s still going strong. Part of that success comes from the Unix philosophy:

  • Write programs that do one thing and do it well.
  • Write programs to work together.
  • Write programs to handle text streams, because that is a universal interface.

When working with the command line, it’s good to keep this philosophy in mind. You’ll find out that there’s always a combination of tools that does exactly what you want. The art is finding them and combining them correctly.

Linux commands and scripting

I’ll focus mostly on Linux, but what you’re about to learn applies one-one to other Unix-like operating systems, like MacOS or BSD-based distributions. I recommend you start by learning the most used, most needed Linux commands. After that, you can learn how to write Bash scripts, for example, to automate parts of your Python development process.

About Erik van Baaren

Erik is the owner of Python Land and the author of many of the articles and tutorials on this website. He's been working as a professional software developer for 25 years, and he holds a Master of Science degree in computer science. His favorite language of choice: Python! Writing good articles takes time and effort. Did you like this tutorial? You can buy him a coffee to show your appreciation.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments