How to check if the environment is WSL from shell script?
Channel: Peter Schneider
Date: 05/11/2022

How to check if the environment is WSL from shell script?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  |
Thanks to all those great people for their contributions!

 (superuser.com/users/236368/ironsand)ironsand |
 (superuser.com/users/1210833/notthedr01ds)NotTheDr01ds |
 (superuser.com/users/1693402/m-behrens)M. Behrens |
 A special thanks goes out to the (https://superuser.com/questions/1749781/how-to-check-if-the-environment-is-wsl-from-shell-script)Stackexchange community |
 
 I wish you all a wonderful day! Stay safe :)
 
  bash ubuntu windows-subsystem-for-linux