Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to resume a stopped job in the foreground.
Linux CLI
fg [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using the job number without the percent sign.
Typing the word 'resume' instead of the job reference.
✗ Incorrect
The fg command uses % followed by the job number to bring a job to the foreground.
2fill in blank
mediumComplete the command to send a job to the background.
Linux CLI
bg [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Omitting the percent sign before the job number.
Using descriptive words instead of job references.
✗ Incorrect
The bg command uses % followed by the job number to resume a job in the background.
3fill in blank
hardFix the error in the command to bring job 3 to the foreground.
Linux CLI
fg [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using only the job number without the percent sign.
Typing descriptive words instead of job references.
✗ Incorrect
The fg command requires the job to be referenced with a percent sign and the job number.
4fill in blank
hardFill both blanks to send job 4 to the background and then bring it to the foreground.
Linux CLI
bg [1] fg [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using job numbers without the percent sign.
Using different job numbers for bg and fg.
✗ Incorrect
Both bg and fg commands require the job to be referenced with % and the job number.
5fill in blank
hardFill all three blanks to list jobs, send job 2 to background, and then bring it to foreground.
Linux CLI
jobs bg [1] fg [2] jobs [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using job number without percent sign for bg and fg.
Using incorrect option for jobs command.
✗ Incorrect
Use %2 to specify job 2 for bg and fg. The jobs command with -l shows process IDs.