Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Online Linux Bash Demo [closed]

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!

like image 891
Najeeb Avatar asked Feb 01 '13 13:02

Najeeb


People also ask

How do I sleep in bash?

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.

How do you end a bash script?

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”.

What is #!/ Bin bash?

#!/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.


2 Answers

I know is this one, it is a Javascript PC Emulator

http://bellard.org/jslinux/

like image 51
fedorqui 'SO stop harming' Avatar answered Oct 12 '22 04:10

fedorqui 'SO stop harming'


This site does a lot of languages in the browser: http://www.tutorialspoint.com/execute_bash_online.php

like image 31
Stanley De Boer Avatar answered Oct 12 '22 03:10

Stanley De Boer