Bring a background process to the foreground

suggest change
$ fg %2
sleep 600

%2 specifies job number 2. If fg is used without any arguments, it brings the last process put in the background to the foreground.

$ fg %?sle
sleep 500

?sle refers to the background process whose command contains “sle”. If multiple background commands contain the string, it will produce an error.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents