News

Input/Output errors are almost always filesystem corruption errors. If it's a local filesystem, that's the problem -- if it's a remote filesystem, then look at your server and network connections ...
The first line writes "hello world" to the file "output", the second reads it back and writes it to standard output (normally the terminal). A "here" document is essentially a temporary, nameless file ...