Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created October 12, 2013 20:07
Show Gist options
  • Save garybernhardt/6954318 to your computer and use it in GitHub Desktop.
Save garybernhardt/6954318 to your computer and use it in GitHub Desktop.
$ echo '#!/bin/ls /' > foo
$ ./foo
./foo
/:
bin boot dev etc home initrd.img lib lib64 lost+found media mnt opt proc root run sbin selinux srv sys tmp usr var vmlinuz
$ echo '#!/bin/ls / /' > foo
$ ./foo
/bin/ls: cannot access / /: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment