bash -c
command. Use it to run Linux commands via Command Prompt and PowerShell, or even create a desktop shortcut that runs a Linux command or program when launched.bash -c
command also makes it possible to launch Linux applications via a desktop shortcut. For example, let’s say you wanted to launch the vi text editor through a desktop shortcut. You’d right-click the desktop, point to New > New Shortcut, and enter the following target: