MulaiMulai sekarang secara gratis

How can I stop a running program?

The commands and scripts that you have run so far have all executed quickly, but some tasks will take minutes, hours, or even days to complete. You may also mistakenly put redirection in the middle of a pipeline, causing it to hang up. If you decide that you don't want a program to keep running, you can type Ctrl + C to end it. This is often written ^C in Unix documentation; note that the 'c' can be lower-case.

Latihan ini adalah bagian dari kursus

Introduction to Shell

Lihat Kursus

Petunjuk latihan

Run the command:

head

with no arguments (so that it waits for input that will never come) and then stop it by typing Ctrl + C.

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga