首页 > 解决方案 > 为什么 linux shell 中的“exit”命令不起作用?

问题描述

我有一个用户,当他运行一个没有“退出”的 csh 脚本时挂起......

# This is the x.csh script
exit

随后他...

tcsh x.csh

它挂起。

“哪个退出”给出“退出:shell 内置命令”。

有任何想法吗 ?

标签: linuxcshtcsh

解决方案


.history 文件已损坏。删除后,它按预期工作。


推荐阅读