This repository contains the materials for D-Lab Command Line Fundamentals workshop.
No prior experience in either command line or bash is necessary.
Check D-Lab's Learning Pathways to figure out which of our workshops to take!
In this workshop, we provide a basic introduction to how to interact with your computer via terminal. We are going to focus on Bash(Bourne-Again SHell) or Zsh(Z shell), which are one of the most commonly used Unix/Linux shells. This workshop is designed to be 1-hour long.
After this workshop, you will be able to:
- Understand the role of the command shell in operating system interactions.
- Understand and navigate through directories and paths.
- Practice creating, moving, and deleting files and directories.
- Use pipes and redirection to combine commands.
Before attending the workshop, please ensure you have gone through these instructions.
You'll need to make sure we can use bash on your computer.
- Windows: You can install BASH emulator,
Git BASH
via git for Windows. When you are installing Git, choose "Use the Nano editor by default". If you already have another BASH emulator installed (e.g. WSL), we can use your installed program instead. - Mac: We can use Terminal on Mac. Applications > Terminal
- Linux: We can use Terminal on most Linux machines. Applications > Terminal
Check out the following resources to learn more about Command Line/Bash:
Software Carpentry
The Unix Shell
D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.
Visit the D-Lab homepage to learn more about us. You can view our calendar for upcoming events, learn about how to utilize our consulting and data services, and check out upcoming workshops.