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
    10 Sep 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,806

    Show Printable Version 


    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
    Name:  Bash_on_Ubuntu_on_Windows.png
Views: 3263
Size:  4.9 KB





    Create Bash on Ubuntu on Windows 10 shortcut OPTION ONE Create Bash on Ubuntu on Windows 10 shortcut
    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.






    Create Bash on Ubuntu on Windows 10 shortcut OPTION TWO Create Bash on Ubuntu on Windows 10 shortcut
    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 ~

    Name:  shortcut-1.png
Views: 6567
Size:  26.2 KB

    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.

    Name:  shortcut-2.png
Views: 6705
Size:  25.0 KB

    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)

    Click image for larger version. 

Name:	shortcut-3.png 
Views:	394 
Size:	34.0 KB 
ID:	74049

    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

    Name:  shortcut-4.png
Views: 6658
Size:  14.4 KB

    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.    10 Apr 2016 #1
    Join Date : Apr 2014
    Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc

    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.

    Click image for larger version. 

Name:	Bash Console Shortcut.jpg 
Views:	409 
Size:	152.2 KB 
ID:	74057

    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 ComputerSystem Spec
  2.    02 Jan 2017 #2
    Join Date : Mar 2015
    Posts : 31
    Win 10 Pro

    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 ComputerSystem Spec
  3.    02 Jan 2017 #3
    Join Date : Oct 2013
    Posts : 25,806
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello Georgeilots,

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

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

 


Similar Threads
Tutorial Category
Customization Create Wi-Fi Settings shortcut in Windows 10
How to Create a Wi-Fi Settings shortcut in Windows 10 Wi-Fi is a wireless local area network (WLAN) technology and standard that uses high-frequency radio waves to provide wireless high-speed Internet and network connections. This tutorial...
Tutorials
Apps & Features Enable or Disable Bash on Ubuntu in Windows 10
How to Enable or Disable Bash on Ubuntu on Windows 10 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...
Tutorials
Customization Create Settings shortcut in Windows 10
How to Create a Settings shortcut in Windows 10 Most of the settings you'll want to change in Windows 10 are in Settings. Settings is organized into the separate System, Devices, Network & Internet, Personalization, Apps, Accounts, Time &...
Tutorials
Customization Create This PC Shortcut in Windows 10
How to Create a This PC Shortcut in Windows 10 My Computer was changed to This PC in Windows 8.1 and Windows RT 8.1. You would open File Explorer to view This PC. In Windows 10, File Explorer now opens to Quick access by default instead of...
Tutorials
Solved want to create a shortcut for ' create restore point'
want to create a shortcut for ' create restore point'. managed to find the ' use a restore point file' but this only allows restoration from a restore point not. relation of one. i know there a few ways to do this, but want to put a link on my...
Backup and Restore
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 00:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums