bash shell code.pdf

bash shell code.pdf - Advertisement How to Install and Use...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
How to Install and Use the Linux Bash Shell on Windows 10 by Chris Hoffman on March 5th, 2018 The Windows Subsystem for Linux, introduced in the Anniversary Update , became a stable feature in the Fall Creators Update . You can now run Ubuntu and openSUSE on Windows, with Fedora and more Linux distributions coming soon. Chrome for Enterprise, Download Chrome MSI Keep Your Organization's Data Safe & Secure. Deploy Chrome Browser … Google Learn More Ad Advertisement
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Everything You Can Do With Windows 10’s New Bash Shell What You Need to Know About Windows 10’s Bash Shell This isn’t a virtual machine , a container, or Linux software compiled for Windows (like Cygwin ). Instead, Windows 10 offers a full Windows Subsystem intended for Linux for running Linux software. It’s based on Microsoft’s abandoned Project Astoria work for running Android apps on Windows. Think of it as the opposite of Wine . While Wine allows you to run Windows applications directly on Linux, the Windows Subsystem for Linux allows you to run Linux applications directly on Windows. Microsoft worked with Canonical to offer a full Ubuntu-based Bash shell environment that runs atop this subsystem. Technically, this isn’t Linux at all. Linux is the underlying operating system kernel, and that isn’t available here. Instead, this allows you to run the Bash shell and the exact same binaries you’d normally run on Ubuntu Linux. Free software purists often argue the average Linux operating system should be called “GNU/Linux” because it’s really a lot of GNU software running on the Linux kernel. The Bash shell you’ll get is really just all those GNU utilities and other software. While this feature was originally called “Bash on Ubuntu on Windows,” it also allows you to run Zsh and other command- line shells . It now supports other Linux distributions, too. You can choose openSUSE Leap or SUSE Enterprise Server instead of Ubuntu, and Fedora is also on its way. There are some limitations here. This doesn’t yet support background server software, and it won’t officially work with
Image of page 2
How Do I Know if I’m Running 32-bit or 64-bit Windows? graphical Linux desktop applications . Not every command-line application works, either, as the feature isn’t perfect. How to Install Bash on Windows 10 This feature doesn’t work on the 32-bit version of Windows 10, so ensure you’re using the 64-bit version of Windows . It’s time to switch to the 64-bit version of Windows 10 if you’re still using the 32-bit version, anyway. Assuming you have 64-bit Windows, to get started, head to Control Panel > Programs > Turn Windows Features On Or Off. Enable the “Windows Subsystem for Linux” option in the list, and then click the “OK” button. Click “Restart now” when you’re prompted to restart your computer. The feature won’t work until you reboot.
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern