How to save and run a Java file in PuTTY?
I m a complete newbie on AWS(Amazon Web Services) so this might be a basic question. I created an EC2 instance on AWS. I have a windows machine so I'm using PUTTY to connect with the Linux instance. After getting connected with my EC2 instance, I used the below command to write the Java code, vi java First.java After writing the above code, I got the below screen and I wrote the Java code for a simple "Hello World", The problem is now I'm stuck here, what should I do to save what I have written? Where it will be stored, in my laptop or on the EC2? Is there a way through which I can simply