Created
August 11, 2014 22:33
-
-
Save malclocke/b22921374151cc0c1993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ heroku run bash | |
Running `bash` attached to terminal... up, run.6771 | |
~ $ ls -l /dev/stdin | |
lrwxrwxrwx 1 root root 15 2014-08-11 22:31 /dev/stdin -> /proc/self/fd/0 | |
~ $ ls -l /proc/self/fd/0 | |
lrwx------ 1 u51787 51787 64 2014-08-11 22:31 /proc/self/fd/0 -> /dev/pts/1 | |
~ $ id | |
uid=51787(u51787) gid=51787 | |
~ $ echo echo | cat | |
echo | |
~ $ echo echo | cat /dev/stdin | |
echo | |
~ $ cat /dev/stdin | |
cat: /dev/stdin: Permission denied |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment