← Back Home

fg: resume suspended command

  1. til

I just suspended a vim process by accidentally hit Ctrl+Z (yeah I know, it was not accident at all).

The terminal will provide the PID for that process, like this one

To resume the process, I need to invoke fg with the process name,

fg %vim

comments powered by Disqus