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 of time 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 properly.


If you liked this page, please share it with a fellow learner: