为什么Linux shell中的“退出”命令不起作用?

时间:2018-09-05 20:34:52

标签: linux csh tcsh

我有一个用户在运行csh脚本时挂起,该脚本不执行byt“ exit” ...

# This is the x.csh script
exit

然后他...

tcsh x.csh

它挂了。

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

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

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