When the terminal input: Cd/ho Presses the TAB key, an error is displayed:
Bash:cannot Create temp file for Here-document:no space left on device
This is because the disk is full and can be scaled up, or some of the disk's directories will be migrated to another disk.
Here's how to fix it, find the largest file, and then kill it:
1. Use the command df-h to view hard disk space
2. Command top view CPU and memory
3. Use the command du-h–max-depth=1/var/log/* to view the size of the file under the/var/log path
4, DU-SH/* To see which directory is largest, step by step to find large files
5, use Du-h--max-depth=1 find the largest file, reference: http://www.cnblogs.com/kerrycode/p/4391859.html
Transferred from: http://www.cnblogs.com/EasonJim/p/6833354.html
Linux appears cannot create temp file for Here-document:no space left on device problem resolution