Create Bash on Ubuntu on Windows 10 shortcut  

    Create Bash on Ubuntu on Windows 10 shortcut

    Create Bash on Ubuntu on Windows 10 shortcut

    How to Create a Bash on Ubuntu on Windows 10 shortcut
    Published by Category: Customization
    17 May 2018
    Designer Media Ltd

    How to Create a Bash on Ubuntu on Windows 10 shortcut

    information   Information
    Microsoft first made investments that improve cmd, PowerShell, and many other command-line tools and developer scenarios. Second Microsoft decided to grow their command line family by adding real, native Bash and with it support for Linux command-line tools which run directly on Windows in an environment that behaves like Linux!

    Starting with Windows 10 Insider Preview Build 14316, you can natively run Bash in Windows. BASH is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distro’s, and in OSX. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.

    You can now run Bash scripts, Linux command-line tools like sed, awk, grep, and you can even try Linux-first tools like Ruby, Git, Python, etc. directly on Windows. You can also access your Windows filesystem from within Bash allowing you to work on the same set of files using your preferred Windows tools or Linux command-line tools.

    For more details about Bash, see:

    This tutorial will show you how to create or download a Bash on Ubuntu on Windows shortcut in Windows 10.

    Note   Note
    An administrator must enable Bash first, and you must install the Bash app afterwards before you will be able to create and use a Bash on Ubuntu on Windows shortcut.

    For how, see OPTION ONE here: How to Enable or Disable Bash on Ubuntu on Windows 10


    CONTENTS:
    • Option One: To Download a "Bash on Ubuntu on Windows" Shortcut
    • Option Two: To Manually Create a "Bash on Ubuntu on Windows" Shortcut


    EXAMPLE: Bash on Ubuntu on Windows
    Create Bash on Ubuntu on Windows 10 shortcut-bash_on_ubuntu_on_windows.png





    OPTION ONE

    To Download a "Bash on Ubuntu on Windows" Shortcut


    1. Click/tap on the Download button below to download the .zip file below.

    Bash_shortcut.zip

    Download

    2. Save the .zip file to your desktop.

    3. Unblock the .zip file..

    4. Open the .zip file, and extract (drag and drop) the shortcut to your desktop.

    5. You can Pin to Taskbar, Pin to Start, add to All apps, add to Quick Launch, assign a keyboard shortcut to, or move this shortcut to where you like for easy use.

    6. When finished, you can delete the downloaded .zip file if you like.






    OPTION TWO

    To Manually Create a "Bash on Ubuntu on Windows" Shortcut


    1. Right click or press and hold on an empty area on your desktop, and click/tap on New and Shortcut.

    2. Copy and paste the location below into the location area, and click/tap on Next. (see screenshot below)

    %windir%\System32\bash.exe ~

    Create Bash on Ubuntu on Windows 10 shortcut-shortcut-1.png

    3. Type Bash on Ubuntu on Windows for the name, and click/tap on the Finish button. (see screenshot below)
    NOTE: You could name this shortcut anything you would like though.

    Create Bash on Ubuntu on Windows 10 shortcut-shortcut-2.png

    4. Right click or press and hold on the new Bash on Ubuntu on Windows shortcut, and click/tap on Properties.

    5. Click/tap on the Shortcut tab, then click/tap on the Change Icon button. (see screenshot below)

    Create Bash on Ubuntu on Windows 10 shortcut-shortcut-3.png

    6. In the line under "Look for icons in this file", copy and paste the location below, and press Enter. (see screenshot below)

    %USERPROFILE%\AppData\Local\lxss\bash.ico

    Create Bash on Ubuntu on Windows 10 shortcut-shortcut-4.png

    7. Select the icon highlighted in blue above, and click/tap on OK. (see screenshot above)
    NOTE: You could use any icon that you would like instead though.

    8. Click/tap on OK. (see screenshot below step 5)

    9. You can Pin to Taskbar, Pin to Start, add to All apps, add to Quick Launch, assign a keyboard shortcut to, or move this shortcut to where you like for easy use.



    That's it,
    Shawn






  1. Posts : 3,367
    W10 Pro x64/W7 Ultimate x64 dual boot main - W11 Triple Boot Pending
       #1

    The important thing for people to remember here is to first follow the steps in the other guide to see the Bash on Ubuntu on Windows(beta) enabled and then open the Bash console after the restart to be sure the download and install from the Windows store takes place. Otherwise the "lxss" sub folder won't be there to find under the "users\user account\Appdata\Local" directory.

    A third option recommended for experienced users only of course in seeing the new shortcut created is by manually browsing to the bash.exe file itself and then selecting the create shortcut option found in the right click menu. The icon was also browsed to manually being the long route option however. This is a slight pictorial of how that was done as well as choosing a shorter name for the shortcut itself which is still user choice there.

    Create Bash on Ubuntu on Windows 10 shortcut-bash-console-shortcut.jpg

    Actually two shortcuts were created to illustrate things here. The lower one on the left was by Option Two while the yellow lines point out the steps taken for the manual long route option. Once created you can also opt to see the new shortcut pinned to the 10 Start menu or taskbar if not both.
      My Computers


  2. Posts : 31
    Win 10 Pro
       #2

    I am using 14393.577 and i installed everything correctly, I can use bash, but I cant get the ico file.
    Plus lxss is not in my AppData folder, its in my System32. just a couple dll files, that's it.
    Plus my ctrl+v or ctrl+shit+v doesnt work with quick edit enabled in properties on cmd.
    Any suggestions?
      My Computer


  3. Posts : 68,658
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #3

    Hello Georgeilots, :)

    Double check to make sure that you still have Bash enabled.

    https://www.tenforums.com/tutorials/...e-disable.html
      My Computers


 

Tutorial Categories

Create Bash on Ubuntu on Windows 10 shortcut Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:07.
Find Us




Windows 10 Forums