How do I run a shell script?

How do I run a shell script?

Shell Scripts or . SH files are like batch files of Windows which can be executed in Linux or Unix. It is possible to run . sh or Shell Script file in Windows 10 using Windows Subsystem for Linux.

How do I open a .txt file?

Thanks to this environment, it's actually possible to write a Bash shell script on Windows and run it. Your Bash script can access your Windows files stored under the /mnt folder, so you can use Linux commands and scripts to work on your normal Windows files.