link to content
Essentials at NC State Home
skip header navigation and go to content Help | ResNet | Computing@NC State | For OIT Staff | Publications | Search NC State | Feedback | Site Map
your unity account
antivirus & security
email & messaging
connections & labs
your computer
software@nc state
files
web pages
education & training
publications
other resources
troubleshooting
ITD Sections

Directing input and output

General information about processes

Programs and commands running on a workstation are called processes (and sometimes tasks or jobs). You can have several processes running at the same time, but you can interact with only one of them at a time. It's a bit like switching channels on a television. You can watch only one station at any given moment, but all the other stations are still broadcasting.

Every time you enter a command, start a program or open a new window, you start a new process. Although only one process can be in the foreground at any given moment, you can have several background processes running simultaneously. Background processes simply do their work out of your way, allowing you to focus on tasks that really do need your attention.

Please note that some processes are automatically placed in the background. For instance, programs selected from the root application menu.

Also realize that sometimes programs and commands don't always start as quickly as you might like. If you issue a command or start a program and nothing seems to happen, wait a while (perhaps an entire minute) before trying again. If you impatiently try to start a program five times you might just end up with five copies of the program running on your machine, a sure way to make your workstation slow down.

Unix usually reads input from the keyboard and displays output on the computer screen. However, you can redirect the input and output of commands to suit your needs, connecting commands to use the output of one command as the input of another (called piping) or running several different processes or programs quietly in the background while you do something else entirely.

Basics of directing input and output

 

Last modified November 23, 2004 by cawalker

jump back to content/page ends, begin footer
jump to content
jump to content Go to page top Page Top | Site Map | OIT | Policy Disclaimer | Site Survey