Introduction

What is this tip about? Just a simple one but really useful. Imagine this, you open a text editor to create or modify a file but halfway through someone says, “Can you just check this for me quick . . .”  If you thought the only option is to save the file, quit your text editor and then check the thing you need to check and reopen the file once done. Wrong. There is an easier way!

Fix

Try this instead:

  • CTRL + Z – Pauses an application
  • fg – Returns you to the application

This works for multiple sessions so you can pause more than one window and fg returns you back to the most recently opened.

Nice.

Linux Pausing Commands And Running Commands In The Background
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Optimization WordPress Plugins & Solutions by W3 EDGE