Command Line and BASH
Introduction
The command line is a text interface for your computer. You can communicate with your computer in a language that the IT understands, using this program. You can go beyond the capability of tasks that are possible through the graphical interface. Some examples of things you can do with the command-line include creating directories and folders, navigating the file system, and writing and executing code.
This module explores the basics of the command line and BASH. It functions as a starter kit that will kickstart your journey into scripting!
Finally, this modules is in development. If you see an error, please feel free to email hscdatascience@gmail.com or leave a comment.
Navigating the Module
Throughout this module, you will find information presented in a few ways. You can click through the tabs below to choose the best formats for you!
Learning Objectives
By the end of this module you will:
- Be familiar with a core set of BASH commands
- Understand the concepts of piping and redirection
- Be able to enter a code editor, write and run scripts
- Understand the concept of file permissions
- Understand paths and the hierarchy of the filesystem
- Understand the meaning of some special characters and their usage patterns
- Define and use variables
- Write scripts using conditional statements
- Define functions and use them in scripts
- Understand the concept of operators
- Gain a high-level understanding of servers
- Use BASH commands to retrieve data from a public database and perform some manipulation on the data to extract the required information
Table of Contents:
Survey:
Please take a few minutes to tell us about your experience:
Which of the following best describes your experience prior to completing this module?
What are some areas of the module we can improve on?
Suggestions are welcome and encouraged!
Which tools in the module did you find most useful?
Statistics - View the results