by gkya · 10y ago · 0 comments
#!/bin/rm
#!/sbin/md5
#!/usr/bin/file
#!/usr/bin/du -h
And yet another quine: #!./quine
cat $0
Edit: I was not sure about #!/sbin/poweroff, and I cannot try now, so removed.Refer to sys/kern/imgact_shell.c and ^do_execve in sys/kern/kern_exec.c, I skimmed but could not find why it ran.