Сеня рядом и Белла пришел. Былое
🗄️ ЭФФЕКТИВНЫЕ СПОСОБЫ УПРАВЛЕНИЯ DISK SPACE
🗄️ ЭФФЕКТИВНЫЕ СПОСОБЫ УПРАВЛЕНИЯ DISK SPACE Хочешь узнать, как легко управлять дисковым пространством и избегать неожиданных проблем? Запасись парой секретов — и любой сервер скажет тебе спасибо! 🚀 Быстрый мониторинг - Смарт-отчет о файловой системе: df -h - Анализ использования каталогов: du -sh /* | sort -h 🗑️ Очистка временных и мусорных файлов - Очистить кэш пакетов: sudo apt-get clean - Удалить старые лог-файлы: sudo journalctl --vacuum-time=7d 🔍 Поиск самых «жирных» файлов - Найди большие файлы в домашней директории: find ~/ -type f -size +100M - Удаляй лишнее аккуратно!...
Df h linux
Df — h is a common Linux command used to display disk space usage in a human-readable format. Let’s break down what it does and how to interpret its output: Command Breakdown: df: Stands for “disk filesystem” and is the core command for displaying disk space information. — h: This option tells df to display sizes in a “human-readable” format. Instead of showing sizes in bytes, it uses more understandable units like kilobytes (K), megabytes (M), gigabytes (G), and terabytes (T). Without the -h option, the sizes are shown in 1K-blocks, which are much harder to interpret quickly. Interpreting the...