When you run a process that process is attached and monopolizing our terminal. To put a task in the background we can start it with an & after it. If we didn't start the process this way than we can usually move right over.
- [Narrator] When we start programs from the shell,…they usually stay as interactive tasks in the foreground.…This way, we see the output on the screen,…and we can terminate them quickly…by pressing Control + C.…However, there are times when putting a current task…in the background would be advantageous.…Whenever we want to check up on a task,…we could bring it to the foreground again.…We can do this with a couple of commands.…To set this up, let's open two terminals.…Go to Applications, Favorites, Terminal,…and drag this terminal to the right border.…Bump the font size and then open another terminal.…
Applications, Favorites, Terminal,…drag this terminal to the left border…and bump its font size as well.…We will use the ps command to keep an eye…on nadd commands running.…Normally we'd run top for realtime tasks,…but we're going to combine ps with a watch command.…Watch executes a command every two seconds until terminated.…By using the watch command, we can run ps often…and watch the updates.…This keeps the amount of data on the screen to a minimum.…
- Topics include:
- Shell tips and tricks
- Pattern matching with globs
- Pattern matching with extended globs
- Using the Bash shell
- Monitoring processes using ps
- Monitoring processes graphically
- Managing processes
- Job scheduling
- Limiting access to AT and cron jobs
- Managing system services
Skill Level Intermediate
Linux: User and Group Managementwith Grant McWilliams1h 8m Intermediate
1. Linux Shells Overview
2. Using the Bash Shell
3. Linux Processes
4. Job Scheduling
5. System Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.