Page MenuHomePhabricator
Paste P11707

(An Untitled Masterwork)
ActivePublic

Authored by Kormat on Tue, Jun 30, 9:52 AM.
kormat@x1c:~(0:0)$ printf '#!/bin/bash\necho hello\n' > bin/hello
kormat@x1c:~(0:0)$ chmod +x bin/hello
kormat@x1c:~(0:0)$ which hello
/home/kormat/bin/hello
kormat@x1c:~(0:0)$ hello
hello
kormat@x1c:~(0:0)$ rm bin/hello
kormat@x1c:~(0:0)$ which hello
kormat@x1c:~(0:1)$ hello
bash: /home/kormat/bin/hello: No such file or directory

Event Timeline

Kormat created this paste.Tue, Jun 30, 9:52 AM