You can do this by executing the command (command should be entered on one line) in Listing 6 from a Linux terminal window while you are in the directory containing the C++ source files.
当您位于包含 C++ 源文件的目录时,您可以通过从 Linux 终端窗口中执行 清单 6中的命令(输入的命令应该在一行)来完成这项工作。
2
Similarly, if you run the runclock3.sh script of Listing 4, and press Ctrl-c in the terminal window where the script is running, the script will immediately terminate without shutting down the clock.