Start a task

# for example mkdocs serve & # then commond + C to do something elseCopy the code

View running tasks

➜  AV jobs
[1]  + running    mkdocs serve
Copy the code

Put tasks in the foreground

Syntax is fg %jobnumber bg %jobnumber

➜ AV fg %1 [1] + 19826 running mkdocs serve [I 210607 10:18:28 Handlers :135] Browser Connected: http://127.0.0.1:8000/WebRtc/ INFO - Browser Connected: http://127.0.0.1:8000/WebRtc/Copy the code

If you want to put the foreground task in the background

Put the foreground task on hold

# suspend current task ^Z [1] + 19826 suspended mkdocs serve # Run in background ➜ AV bg %1 [1] + 19826 continued mkdocs serveCopy the code