Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Command line 如何在CentOS中退出nl命令?_Command Line_Command_Centos - Fatal编程技术网

Command line 如何在CentOS中退出nl命令?

Command line 如何在CentOS中退出nl命令?,command-line,command,centos,Command Line,Command,Centos,我在CLI中真的是个笨蛋,所以请帮帮我。我不小心在CentOS中输入了nl,现在我被困在这个列表中。如何退出nl 谢谢你的帮助 Ctrl-C通常可用于在linux中终止终端命令 编辑: 应使用Ctrl-D正确终止nl。Ctrl-C只是杀死应用程序的一种常用方法。谢谢,我不会想到这一点。谢谢,我现在会记住这一点。Ctrl-D更好,因为它只是关闭输入文件描述符,使nl干净地退出。Ctrl-C使用SIGINT终止进程。这是真的。我对nl没有太多经验,所以我只是展示了一种快速终止进程的方法。我将编辑我的

我在CLI中真的是个笨蛋,所以请帮帮我。我不小心在CentOS中输入了nl,现在我被困在这个列表中。如何退出nl


谢谢你的帮助

Ctrl-C通常可用于在linux中终止终端命令

编辑:
应使用Ctrl-D正确终止nl。Ctrl-C只是杀死应用程序的一种常用方法。

谢谢,我不会想到这一点。谢谢,我现在会记住这一点。Ctrl-D更好,因为它只是关闭输入文件描述符,使nl干净地退出。Ctrl-C使用SIGINT终止进程。这是真的。我对nl没有太多经验,所以我只是展示了一种快速终止进程的方法。我将编辑我的答案。