Warning: Be careful with your data. With this online tool, you will loose a lot of data. If you don't have unlimited plan for data, please try to not use this too.

Step 1. Open https://www.tutorialspoint.com/execute_bash_online.php

Step 2. Write any script, which you want to test.

Step 3. Click on Execute (on the left up corner.). It will show the output in right side.

Step 4. Hurry! Work is done.

Note: It works in same manner in mobile too. Only the way of copy and paste is different in mobile and it depends on your OS and other things.

Note: This tutorial is not complete yet. I shall update it as per our requirements with class.