Sunday, 26 July 2020

Step by Step Instructions to run Linux program on any Operating System.

**Use repl.it to create and run a Linux Program

Many Times we encountered a situation where we need to work on linux platform or in any FDPs or STTPs, Handson program there is need of linux platform as presenter is using that and demonstrated on that but we have Windows OS so when time is for doing handson we dont have linux platform we cant utilize that time for handson because of less resources in terms of linux platform.    

In order to solve this problem Today i will demonstrate and give step by step instructions to use your linux bash enviornment without spending a seconds for setting up. 
                                                 
"https://repl.it" is a site that offers a collaborative, in-browser IDE to code in 50+ languages including Python, Node.js, Java, Ruby, R, JavaScript  and many more without spending a seconds on SETUP...

 The following figures will give a step-by-step representation to create and run a Linux Program

 STEP 1:  Sign up and then Login






STEP 2: Create a new repl





STEP 3 : Choice of Languages




STEP 4:  Creating a first repl using Bash (for working with Linux Commands) . File name Sample 1






STEP 5: A view of the workspace. Click on 'Add file' in the left corner to add external files







STEP 6: Once the workspace is completely loaded a main.sh file is created by default. then we can create a text file manually by clicking on 'Add File'

Here m creating vishal.sh shell script file and for display writing one statement as welcome to APSIT then m just click on run to run my shell script in terminal.as shown below: 





STEP 8 : A view of the text file. Can be opened by clicking on the name of the file on the left-hand side.



STEP 9: Print the commands on the main.sh file. You can give multiple commands by pressing enter. Each command will appear in a new line with new line number. Press RUN to run the commands. All the commands will be executed consecutively. The output will be displayed on the extreme right.








We have everything in one screen.


HURRAH !!  
HAPPY CODING !! HAPPY LINUX !!


Step by Step Instructions to run Linux program on any Operating System.

**Use repl.it to create and run a Linux Program Many Times we encountered a situation where we need to work on linux platform or in any FDPs...