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 trialds1
7,627 PointsAbout the jobs question...
One of the questions on the quiz ask about what does typing "jobs" do in Linux. It shows that "shows a list of processes in your current session" is the correct choice. Is that accurate? I thought "jobs" shows a list of jobs and not processes. When I run the command 'ps' or 'ps aux', that gives a different output than when I run 'jobs'. For example, 'ps' will include bash (and also the 'ps' process). Am I missing something? Thanks, D.
1 Answer
Steven Parker
231,275 PointsI suppose there's a good bit of overlap in the definition of a "job" and a "process", though it would probably have been more accurate for the question to refer to "tasks or commands".
But since all answer choices refer to "processes", the key phrase that makes that answer choice the most correct one (and also distinguishes the output from what "ps" might produce) is "...in your current session".
ds1
7,627 Pointsds1
7,627 PointsThanks, Steven!