Linux appears cannot create temp file for Here-document:no space left on device problem resolution

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.