echo "ok" > aaa.txtls -la
Standard input is empty
total 12 drwxr-x--- 2 root 1000 4096 Nov 22 19:49 . drwxr-xr-x 3 root root 4096 Nov 22 19:49 .. -rw-rw-r-- 1 root root 26 Nov 22 19:49 prog.sh
./prog.sh: line 1: aaa.txt: Permission denied
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!