I am using an SSH client to connect to a Solaris server. I had a process running but my connection disconnected. I reconnected and can see the process running when I do
ps -al. How can I bring this process to the 'foreground'? I want to see its output.
You can immediately re-activate your most recent backgrounded task by typing:
If you have multiple backgrounded tasks, you can see the available jobs by typing:
You can then bring any of the tasks to the foreground by using the index in the first column with a percentage sign:
jobs command shows the process job number
+ Stopped ssh username@some_host  Stopped ssh username@another_host
Bring any of the tasks to the foreground by using the index: