CLI Process Management

From FreekiWiki
Revision as of 12:59, 1 March 2008 by Rwlove (talk | contribs)
Jump to navigation Jump to search

Introduction

Every time you run a command on the command line, it has to run for some period of time. Linux knows how to get the resources that the program needs to run for its lifetime. The command and its resources are called a 'process'. So, a process is just something that is running on your system. Processes aren't limited to programs that you've started on the command line, everything running on your system is a process, including BASH. Linux manages these processes and you have the ability to interact with them using the command line.

Commands

xeyes = A silly program that displays a graphic depicting a set of eyes that follow your mouse pointer.
fg = put a process into the foreground
bg = put a process into the background
Ctrl+z = suspend a process
ps = List the processes running on your system
kill = send a signal to a process

Examples

Quiz