Skip to main content

Posts

Showing posts with the label bash on windows

Bash on Windows-10

Bash on Windows provides a Windows subsystem and Ubuntu Linux runs on top of it.  It is a complete Linux system inside Windows 10. Basically, it allows you to run the same Bash shell that you find on Linux. This way you can run Linux commands inside Windows without the need of installing a virtual machine or dual booting Linux and Windows. You install Linux inside Windows like a regular application. This is a good option if your main aim is to learn Linux/Unix commands. Step 1: Enable “Windows Subsystem for Linux” feature The first thing you need to do is to enable Windows Subsyetm for Linux feature from PowerShell. Go to Start menu and search for PowerShell. Run it as administrator: Once you have the PowerShell running, use the command below to enable Bash in Windows 10. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux You’ll be asked to confirm your choice. Use Y or press enter: Step 2: Download a Linux system from Windows store ...