Linux cd 命令时使用tab键失败

报错:cd -bash: cannot create temp file for here-document: No space left on device

原因:机器磁盘已满,无法创建临时文件。

查看目录的硬盘占用空间:

[root@root usr]# du -sh /usr/local/*
171M    /usr/local/aegis
20K     /usr/local/bin
4.0K    /usr/local/etc
4.0K    /usr/local/games
4.0K    /usr/local/include
11M     /usr/local/lib
8.0K    /usr/local/lib64
4.0K    /usr/local/libexec
4.0K    /usr/local/sbin
148M    /usr/local/share
96G     /usr/local/software
4.0K    /usr/local/src

おすすめ

転載: blog.csdn.net/hengchi_hengchi/article/details/120672691