How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD


There are multiple ways to start a bash shell session in Windows 10, one of them is just open Command Prompt and type bash.

  1. Go to Run (Press Windows + R key),
  2. Type cmd to open command prompt
  3. Now type bash,
  4. This will take you to the bourne-again shell (bash) prompt. May take a while if you are doing it for the first time.
C:\Users>bash
Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.4.0-18362-Microsoft x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Oct 18 16:55:11 IST 2020

  System load:    0.52      Processes:              7
  Usage of /home: unknown   Users logged in:        0
  Memory usage:   53%       IPv4 address for wifi0: 192.168.0.108
  Swap usage:     0%


153 updates can be installed immediately.
56 of these updates are security updates.
To see these additional updates run: apt list --upgradable



This message is shown once once a day. To disable it please create the
/root/.hushlogin file.

 $

What would you enter at the command prompt to start a new bourne-again shell (bash) session? Answer: bash




Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.