Learn to stop a process that is running. This is especially useful if the process has a bug or is out of control.
- [Instructor] Now that we understand about Unix processes. … I want us to talk about how you can stop processes. … There're a number of different ways … that we can stop processes in Unix. … The first and simplest is just to let the process finish. … It may take a minute or two, … but it's the most graceful thing, … just to let it do its job. … If we're inside a program, … where we have some communication with it, … like a nano text editor, for example, … or the man pages, … there may be a way to gracefully exit out. … And we can usually do that with either Q, control Q, … colon Q, X, control plus X, or the escape key. … The more common ones are towards the front of the list. … And it usually depends on the program … that's actually running. … So, the programmer of that program gets to make the choice … about whether you use Q or colon Q, in order to quit out. … If you can't gracefully exit out of the program … and you need to do so forcibly, … you can do that using control C. … Control C is kind of the universal way in Unix, …
Skill Level Intermediate
1. Introduction to Unix
2. Files and Directories
3. Ownership and Permissions
4. Commands and Processes
5. Directing Input and Output
6. Configure Your Working Environment
- 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.