Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこれをしました:
$ z() { echo 'hello world'; }
どうすればそれを取り除くことができますか?
unset -f z
z という名前の関数を設定解除します。カップルの人々は次のように答えました:
unset z
ただし、関数と z という名前の変数がある場合、関数ではなく、変数のみが設定解除されます。