Exam LFCS All QuestionsBrowse all questions from this exam
Question 57

SIMULATION -

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

    Correct Answer:

    The command that displays a list of all background tasks running in the current shell is 'jobs'. The 'jobs' command provides information about the status of jobs that were started in the current shell session, indicating whether they are running, stopped, or terminated. This command is particularly useful for managing tasks that are running concurrently in the background.

Discussion
rona962

The command that displays a list of all background tasks running in the current shell in Linux is: jobs The jobs command displays a list of all background jobs running in the current shell, along with their status (running, stopped, or terminated). This command is useful for managing multiple tasks running in the background, such as stopping or resuming a specific job.