为什么linux shell中的“exit”命令不起作用?

问题描述 投票:-1回答:1

我有一个用户在运行csh脚本时挂起,除了“退出”之外什么都不做......

# This is the x.csh script
exit

然后他...

tcsh x.csh

它挂了。

“哪个出口”给出了“exit:shell内置命令”。

有任何想法吗 ?

linux csh tcsh
1个回答
1
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.