Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Console Foundations Environment and Redirection Find and Grep

James Barrett
James Barrett
13,253 Points

Program vs session vs process

I'm hearing these words used quite often during Jim's lectures. However I just want to get a better understanding of what each of these words mean with regards to the console.

To me:

Session - Processes and programs are kind of like children of sessions. A session would contain certain programs and processes. Process - Something that is currently being run during a session. Program - An actual file? E.g. hello.txt

Please correct if I am wrong.

Thanks, James.

1 Answer

Steven Parker
Steven Parker
229,670 Points

I think you've pretty much got it. :+1:

Except that "hello.txt" is not likely to be a program file. "Hello.exe" might be.

James Barrett
James Barrett
13,253 Points

Cool, thanks for clarification :)