-1

I need to run the script every time I start the wsl machine. It's very annoying to keep typing sh /root/webstart.sh when I turn on wsl.

Does anyone have a similar experience with this?

How can i achieve this result please?

Dan Rais
  • 159
  • 2
  • 10

1 Answers1

0

So i already find out, that if I add in /etc/bash.bashrc my code, it will automatically start after I run wsl.

https://www.digitalocean.com/community/tutorials/bashrc-file-in-linux

gboone
  • 93
  • 10
Dan Rais
  • 159
  • 2
  • 10