Multitask at the Linux command line and save time on common admin tasks. Learn how to switch between foreground and background tasks, control more than one process, and use tmux and screen.
- [Scott] Sometimes processes in command line windows take a little while to finish. If you don't know how to put those jobs in the background or switch between different processes, you could be wasting time. I'm Scott Simpson, and in this course I'll show you a few tips and tricks to make working at the Linux command line a little more efficient. If you're used to working in GUI, you probably know that you can use Alt+Tab or Cmd+Tab, depending on your platform to switch between running apps. You can do something similar at the command line as well. We'll take a look at how to send running tasks, like copying a large file into the background, so you can do something else while it finishes.
This can be useful for keeping an eye on a log file while still being able to get work done. Wouldn't it be convenient to keep a long-running process going after you disconnect an SSH session? To learn how to do that, we'll take a look at a couple of different tools called screen and TMOX which let you set up a persistent workspace in the terminal. This course is a quick introduction to multi-tasking at the command line. Let's get started.
- Starting tasks in the background
- Controlling more than one process
- Managing virtual terminals with the screen utility
- Managing sessions and windows
- Managing virtual terminals with the tmux utility