要如何退出shell呢? - Linux

Table of Contents


剛剛手殘,把一些shell的內建變數都設定
成function name了,然後都做一些echo aa bb之類的事^^

剛剛發現退不出 shell 終端機了...XD

我總共把
exit
unset
exec
這些shell內建的命令都給function成別的用途

然後function的執行順序又優於shell builtin command

在不關機情況下有哪些退出shell的方法呢??

thanks!!


--

All Comments

Erin avatarErin2009-03-22
CTRL+D 不知道signal 有沒有被更動到 @@?
Jacob avatarJacob2009-03-24
Power鍵按一下 讓ACPI去關機
Ophelia avatarOphelia2009-03-28
Ctrl+D不是signal吧
Xanthe avatarXanthe2009-03-29
喔喔 抱歉 CTRL+D 是同等於在input stream 輸入EOF
Rachel avatarRachel2009-03-31
把function改回來就好啦= =a
Faithe avatarFaithe2009-04-03
kill