Learning the command line is essential for a professional data analyst or data scientist. The lack of a graphical user interface (GUI) may make the command line intimidating, but it also makes it faster than other approaches for many tasks. That's why it's a critical part of many efficient data science workflows.
In our Introduction To The Command Line lesson, you will learn why using the command line, also called the terminal, is important, and start learning to execute commands in the terminal on UNIX machines to interact with your computer.
You will also learn the structure of the command line and how it is set up as you dig into common data science command-line tasks like checking for text differences between files using the
diff command, finding the current date using the
date command, and viewing a list of commands already run using the
Along the way, you’ll discover the similarities and differences between the command line interface and the graphical user interface.
If you're using a Windows PC or laptop to do this lesson, don't worry about not having access to a Unix based terminal! You’ll practice your command line skills right on our platform, which has answer checking built-in so you can be sure you've mastered each concept before moving on to the next concept.
What You'll Learn
1. What is the Command Line?
2. Why Learn the Command Line?
3. The Prompt
4. The Anatomy of Commands
5. More on Commands
6. Command History
7. Ending Your Session
8. Next Steps