user:thomas gists created by user
user:thomas
title:mygist gists with given title
title:mygist
filename:myfile.txt gists having files with given name
filename:myfile.txt
extension:yml gists having files with given extension
extension:yml
language:go gists having files with given language
language:go
topic:homelab gists with given topic
topic:homelab
Přihlásit se
Naposledy aktivní 10 months ago
這個 Bash 腳本用於 清理 Linux 系統的日誌檔案,主要包括 身份驗證日誌 (auth.log)、登入歷史 (wtmp, btmp, lastlog)、系統日誌 (syslog)、郵件日誌 (mail.log),並刪除舊的壓縮日誌 (.gz) 以釋放空間。此外,它會 重設失敗登入記錄 (faillog),確保 lastlog 權限正確,適用於 系統維護、隱私保護及釋放伺服器磁碟空間。
Embed
Embed this gist to your website.
Klonovat pomocí HTTPS
Klonovat s pomocí Git pomocí základní autentizace HTTP.
Klonovat pomocí SSH
Klonovat s pomocí Git pomocí klíče SSH.
Vytvořeno pomocí Opengist ⋅ Load: 3ms⋅