Saving following script in a file:
cat <<EOF | wc -l
$HOME
abc
$(hostname)
EOF
and executing it gives the following error:
$ ./a.sh
./a.sh: line 1: cannot create temp file for here-document: No space left on device
My Debian thinks that there is no space left on the device (which is not true, but it's out of our context). However I have a plenty of RAM space. Since my tools (scripts) also refuse to work because of this error, I'm unable to resolve the actual "no space left" issue. What can I do to make my scripts use the RAM for the "heredoc" handling process in order to get them working at least, so that I can move forward to resolve the actual problem by using my tools?