Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

How to run a command when launching WSL Ubuntu

$
0
0

I can open ubuntu.exe using a .bat file by:

start ubuntu.exe

But I want to pass the parameter "./mnt/c/xxx.sh" to ubuntu.exe.

I.E. I want ubuntu.exe to launch a specific shell by using a .bat file, to ensure I don't have to open that particular shell every single time I open ubuntu.exe.

Can anyone give me some suggestions?


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>