Saltar al contenido principal
InicioShellIntroduction to Bash Scripting

Introduction to Bash Scripting

Bash scripting allows you to build analytics pipelines in the cloud and work with data stored across multiple files.

Comience El Curso Gratis
4 Horas13 Videos43 Ejercicios
28.397 AprendicesTrophyDeclaración de cumplimiento

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.
Group¿Entrenar a 2 o más personas?Pruebe DataCamp para empresas

Preferido por estudiantes en miles de empresas


Descripción del curso

Bash is a concise, superfast, and robust scripting language for data and file manipulation. It’s a vital skill for building analytics pipelines in the cloud, favored by Linux users to work with data stored across multiple files. In this course, we’ll guide you through the basics of Bash scripting. We begin with an introduction to Bash script structures, including inputting arguments and outputting results. You’ll then work through data structures, such as variables and arrays, and control statements, including loops and conditionals. You’ll then put what you’ve learned into practice, by creating your own Bash functions and scheduling automated scripts to run like clockwork with cron.
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más
Pruebe DataCamp Para EmpresasPara obtener una solución a medida, solicite una demonstración.
  1. 1

    From Command-Line to Bash Script

    Gratuito

    Save yourself time when performing complex repetitive tasks. You’ll begin this course by refreshing your knowledge of common command-line programs and arguments before quickly moving into the world of Bash scripting. You’ll create simple command-line pipelines and then transform these into Bash scripts. You’ll then boost your skills and learn about standard streams and feeding arguments to your Bash scripts.

    Reproducir Capítulo Ahora
    Introduction and refresher
    50 xp
    Extracting scores with shell
    50 xp
    Searching a book with shell
    50 xp
    Your first Bash script
    50 xp
    A simple Bash script
    100 xp
    Shell pipelines to Bash scripts
    100 xp
    Extract and edit using Bash scripts
    100 xp
    Standard streams & arguments
    50 xp
    Using arguments in Bash scripts
    100 xp
    Using arguments with HR data
    100 xp
  2. 2

    Variables in Bash Scripting

    Master the bread and butter of Bash scripts—variables! In this chapter, you’ll learn how to create basic string and numeric variables, and perform calculations on these variables. You’ll also learn about the magic of a shell-within-a-shell (shell-ception), opening up huge opportunities for advanced scripting.

    Reproducir Capítulo Ahora
  3. 3

    Control Statements in Bash Scripting

    Life isn't always linear and neither should your Bash scripts. In this chapter, you’ll take your Bash scripts to the next level by learning control statements. You’ll learn the differences between FOR, WHILE, IF, and CASE statements and how to use them in your Bash scripts. Armed with these new tools, you’ll be ready to create more advanced Bash scripts with conditional logic.

    Reproducir Capítulo Ahora
  4. 4

    Functions and Automation

    Give your Bash scripts a powerful new addition by building useful functions to process data and variables. In this last chapter, you will learn the structure of functions in Bash, how to use functions to help automate frequent tasks, and program your scripts to run on schedule without needing to even lift a finger.

    Reproducir Capítulo Ahora
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más

Sets De Datos

New HiresSoccer ScoresHire DataModel ResultsRob's FilesModel OutputInherited Folder

Colaboradores

Collaborator's avatar
Maggie Matsui
Collaborator's avatar
Lis Sulmont

Requisitos Previos

Introduction to Shell
Alex Scriven HeadshotAlex Scriven

Senior Data Scientist @ Atlassian

Ver Mas

¿Qué tienen que decir otros alumnos?

Únete a 13 millones de estudiantes y empeza Introduction to Bash Scripting hoy!

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.