I wanted to demo a few basic Linux shell (bash) commands to someone. I don't want to go through the whole routine of installing a Linux VM on my system just to be able to do that. I was just wondering if there is some online webpage where I can do that? Something like try MongoDB online.
Would be grateful for any pointers. Thanks!
How to Use the Bash Sleep Command. Sleep is a very versatile command with a very simple syntax. It is as easy as typing sleep N . This will pause your script for N seconds, with N being either a positive integer or a floating point number.
One of the many known methods to exit a bash script while writing is the simple shortcut key, i.e., “Ctrl+X”. While at run time, you can exit the code using “Ctrl+Z”.
#!/bin/bash Essentially it tells your terminal that when you run the script it should use bash to execute it. It can be vital since you may be using a different shell in your machine ( zsh , fish , sh , etc.), but you designed the script to work specifically with bash.
I know is this one, it is a Javascript PC Emulator
http://bellard.org/jslinux/
This site does a lot of languages in the browser: http://www.tutorialspoint.com/execute_bash_online.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With