You access Bash using a terminal program which we will discuss next. Sometimes you will hear Bash and Shell used interchangeably in this course, we will use the term Bash. Throughout this class, you will use Python and Jupyter Notebook.īash stands for “bourne again shell” and is an updated version of Shell. You can also write and execute scripts in Bash just like you can in R or Python.įinally, you can use Bash to launch tools like Python, R and Jupyter Notebook.
In Bash, you can perform multiple operations on multiple files quickly. Working with files at the command line is faster and more efficient than working with files in a graphic environment like Windows Explorer or Mac Finder. This allows you to control your computer by typing in commands entered with a keyboard, instead of using buttons or drop down menus in a graphical user interface (GUI) with a mouse/keyboard.įor example, you can use Bash to access and process files at the command line. The command line or terminal is where you provide Bash commands that the computer then executes. About Bashīash is command line program that allows you to efficiently perform many tasks.
In this lesson, you will learn how to use a command line interface (CLI) or terminal on your computer. However, we still need to access the command line or terminal for certain tasks. Today, we have computers that can both provide commands AND perform the computation, and these computers have graphic interfaces (known as GUIs) that make it easy to perform tasks.
Berkeley’s cs61a, Software Carpentry and The Hacker Within, Berkeley. Information below is adapted from materials developed by: U.C. Instructions for setting up Git and Bash are here: Setup Git, Bash & Conda lesson. You will need to have Git and Bash setup on your computer to complete this lesson.