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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents