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.

Get Certified and advance your career

Our premium courses offer a superior user experience with small, easy-to-digest lessons, progress tracking, quizzes to test your knowledge, and practice sessions. Each course will earn you a downloadable course certificate.

The Python Fundamentals Course For Beginners

Python Fundamentals I is a course for beginners that will get you started with Python in no time. Learn all the essentials, test your progress with quizzes and assignments, and bring it together with the final course project!

The Python Course for Beginners

Modules, Packages, And Virtual Environments

Python Fundamentals II covers creating modules and packages, using virtual environments and Python package managers to make your life as a programmer easier. Advance your productivity as a Python programmer!

If this article helped you, please help us out and share it!

Leave a Comment

I hope you’re enjoying my articles. Perhaps you’d like to sign up for my weekly newsletter as well. You’ll receive:

Super easy to unsubscribe & Your data stays on Python Land.

Footer subscribe

No, thanks!

Share to...