Command Line Essentials: Git Bash for Windows

A step-by-step guide for Windows users unfamiliar with Bash or the terminal environment.
Rating: 4.4 out of 5 (4,597 ratings)
77,672 students
Command Line Essentials: Git Bash for Windows
Rating: 4.4 out of 5 (4,597 ratings)
77,688 students
Install Git for Windows
Install a Text Editor and use it from within Git Bash
Use Git Bash as a terminal environment in Windows with confidence
Understand what Bash is and how it is different than the Command Prompt
Write a Bash shell script and execute it

Requirements

  • Any modern version of Windows installed
  • Basic computer skills
  • Ability to install software (may require Administrator rights)
Description

Command Line Essentials: Git Bash on Windows

This course is designed to cut academic theory to just the key concepts and focus on basics tasks in the Bash command line in order to be productive quickly. Students can expect to learn the minimum needed to start using the Bash shell in less than an hour.

Course Outline

Course Introduction and Overview provides an introduction to this course and the Bash shell environment.

Installation provides step-by-step instructions on how to setup Git for Windows and the Notepad++ text editor.

The real meat of the course is the Basic Commands section, where we step through many of the common Bash commands and uses. Towards the end, we start putting the commands together to build a simple Bash script, which we also execute.

Finally, I share some final thoughts in the Conclusion.

Course Features

Presentations provide audio/video training of conceptual ideas. Since few like slide-ware presentations, slide-presentations are kept to a minimum.

Screencasts provide a video of the instructor's computer system with any actions, commands, or screens displayed and narrated -- this is the majority of the course.

Following the Basic Commands section, there is a downloadable reference of all the commands used in this course.

The quizzes reinforce the key concepts by testing your newly learned knowledge throughout the course.

Who this course is for:
  • Windows users unfamiliar with Bash terminal environments
  • Anyone that needs a refresher on the command line, Bash shell or Git Bash
  • Developers using Git, NodeJS, Maven, or other command line tools on Windows
Curriculum
4 sections • 21 lectures • 53m total length
  • Course Introduction and Approach
  • What is Bash?
  • Introduction to Bash Quiz
  • Installation Overview
  • Git for Windows
  • Notepad++
  • Notepad++ Configuration
  • Basic Commands Overview
  • Where Am I and What's Here (pwd and ls)
  • Change Directory (cd)
  • Where is that command? (which)
  • Echo...Echo? (echo)
  • Reviewing Files Contents (cat and less)
  • Create, Rename (Move), and Delete Files (touch, mv, and rm)
  • Create and Delete Folders; Recursive Delete (mkdir and rmdir; rm -rf)
  • Clear and Exit
  • Output to a File (> and >>)
  • Creating and Executing a Simple Bash Script
  • Customizing the Bash Environment with .bashrc File
  • Using Bash Quiz
  • Git Bash Basic Commands Reference
  • Final Words
  • Bonus: Exclusive Student Discounts

Instructor
Lead Software Engineer, Dev Trainer (19 courses,24k reviews)
Jason Taylor
  • 4.3 Instructor Rating
  • 50,714 Reviews
  • 389,624 Students
  • 19 Courses

With nearly 20 years of programming and software development experience, I started out teaching myself programming while in High School. I put myself through college working for a local Internet Service Provider as a programmer. Before finishing college, I developed and sold an award winning website to a Dot-Com start-up. After college, I have worked at several companies ranging from start-ups to large enterprises focusing on Java and client-side technologies (HTML/CSS/JavaScript). Throughout my career, I have opportunity to learn many software development best practices and exposure to several version control systems.