メインコンテンツへスキップ
ホームShell

コース

Bashスクリプト入門

中級スキルレベル
更新日 2025/08
Bashスクリプトで、クラウド上の分析パイプラインを構築し、複数ファイルに保存されたデータを扱えます。
コースを無料で開始
ShellProgramming
4時間
13 ビデオ
43 演習
3,350 XP
38,329
修了証明書

無料アカウントを作成

Googleで続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

何千もの企業の従業員が支持

Group

チームのトレーニングを担当していますか?

Businessをお試しください

コース説明

Bashは、データやファイルの操作に向いた、簡潔で高速かつ堅牢なスクリプト言語です。クラウド上で分析パイプラインを構築するうえで欠かせないスキルであり、複数ファイルに分散したデータを扱うためにLinuxユーザーから広く支持されています。このコースでは、Bashスクリプトの基本を一からご案内します。まずは引数の受け取り方や結果の出力など、Bashスクリプトの構造を紹介します。次に、変数や配列といったデータ構造、ループや条件分岐などの制御構文を学びます。最後に、学んだ内容を実践に移し、独自のBash関数を作成して、cronで自動実行をスケジュールし、まるで時計仕掛けのように動かす方法を身につけます。

前提条件

Introduction to Shell
1

From Command-Line to Bash Script

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.
チャプターを開始
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.
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.
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.
Bashスクリプト入門
コース完了

修了証明書を取得

この修了書をLinkedInや履歴書、CVに追加しましょう
ソーシャルメディアや人事評価で共有しましょう
今すぐ登録

19百万人を超える学習者と共にBashスクリプト入門を始めましょう!

無料アカウントを作成

Googleで続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

DataCamp for Mobileでデータスキルを磨きましょう

モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。