It will not generate any file.

You will have to create the program.js file yourself and add some code in 
it. Let' say you have added the following:

console.log('Hello World!');

Now, when you run node program.js from the terminal, this file will be 
executed by node and it will print "Hello World!" at the terminal.


On Saturday, August 29, 2015 at 8:11:46 AM UTC+5:30, MANAV GARG wrote:
>
> If I type 
> node program.js 
> in my terminal. Where will the file be generated in the computer?
>
> I am using Ubuntu 15
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/950d2278-d94b-437a-8106-78ace35207fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to