The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

If you by accident press Ctrl-Z on the Linux console, use fg to un-suspend that task

Posted by jpluimers on 2013/07/01

The Linux console has different shortcut keys than many people are used to, so Ctrl-Z is not “undo”, but “suspend”. It sends and returns you to the command prompt.

The easiest way to undo that is to type fg, which brings back the suspended process into the foreground.

A nice post with a bit more background information is Bg, Fg, &, Ctrl-Z – 5 Examples to Manage Unix Background Jobs.

–jeroen

via: What is effect of CTRL + Z on a unix\Linux application – Super User.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.