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,722 ratings)
79,870 students
Command Line Essentials: Git Bash for Windows
Rating: 4.4 out of 5 (4,722 ratings)
79,878 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
Course content
4 sections • 21 lectures • 53m total length
  • Course Introduction and Approach
    02:21
  • What is Bash?
    03:38
  • Introduction to Bash Quiz
    3 questions
  • Installation Overview
    00:37
  • Git for Windows
    05:40
  • Notepad++
    02:08
  • Notepad++ Configuration
    03:23
  • Basic Commands Overview
    00:53
  • Where Am I and What's Here (pwd and ls)
    01:36
  • Change Directory (cd)
    03:32
  • Where is that command? (which)
    01:11
  • Echo...Echo? (echo)
    01:27
  • Reviewing Files Contents (cat and less)
    01:27
  • Create, Rename (Move), and Delete Files (touch, mv, and rm)
    02:52
  • Create and Delete Folders; Recursive Delete (mkdir and rmdir; rm -rf)
    03:57
  • Clear and Exit
    00:45
  • Output to a File (> and >>)
    03:03
  • Creating and Executing a Simple Bash Script
    03:38
  • Customizing the Bash Environment with .bashrc File
    03:09
  • Using Bash Quiz
    10 questions
  • Git Bash Basic Commands Reference
    2 pages
  • Final Words
    01:15
  • Bonus: Exclusive Student Discounts
    04:49

Instructor
Lead Software Engineer, Dev Trainer (19 courses,50k reviews)
Jason Taylor
  • 4.4 Instructor Rating
  • 54,161 Reviews
  • 408,017 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.