6

Scripting with Shell and Bash Commands in Linux

In this brief chapter, we’ll delve into shell and Bash scripting with Linux, covering basic navigation control statements, functions, data processing and pipelines, and database operations. Additionally, you’ll learn how to leverage the cron command for task scheduling and, importantly, how to run Python programs from the command line.

Although the likelihood of being tested on Linux commands during a data science interview is rare, you’ll be better prepared to utilize data science-adjacent technologies that leverage the command line. In this chapter, we will cover the following topics:

  • Introduction to operating systems
  • Navigating system directories
  • Filing and directory manipulation
  • Scripting ...

Get Cracking the Data Science Interview now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.