Accidentally pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?

Today I was trying to upgrade my Ubuntu with sudo apt-get upgrade and accidentally typed Ctrl-Z while in the terminal and the upgrade stopped. After doing some research on this, here is what I found:

Pressing Ctrl Z in the terminal sends the process to the background causing it to pause until it is told to come back to the foreground.

Pressing CTRL Z in the Linux terminal

Pressing CTRL Z in the Linux terminal

Once the task is paused you can run another task and call the paused one later when it is needed. To check the paused tasks type jobs in the terminal.

To resume the process, you can type fg. If you have multiple tasks, then you type fg 1, fg 2 etc…

Resume task in terminal

Resume task in terminal

Advertisements

2 Responses to “Accidentally pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?”

  1. Fernando Irías Says:

    Nice! =P

  2. Simon Kim Says:

    OMG You saved my a$$. Thanks!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: