user:thomas utente che ha creato il gist
user:thomas
title:mygist titolo del gist
title:mygist
filename:myfile.txt nome di file nel gist
filename:myfile.txt
extension:yml estensione del file nel gist
extension:yml
language:go linguaggio del file nel gist
language:go
topic:homelab gists with given topic
topic:homelab
Entra
Ultima attività 10 months ago
這個 Bash 腳本用於 清理 /tmp 目錄中無效的 SSH 相關暫存檔案。它會搜尋所有以 ssh- 開頭的檔案或目錄,使用 lsof 檢查是否有行程正在使用它們,若未被使用則刪除,以確保 /tmp 目錄保持乾淨。這適用於 系統維護、提升伺服器安全性,防止長時間未使用的 SSH 暫存文件佔用空間。
Incorpora
Incorpora questo gist nel tuo sito.
Clona tramite HTTPS
Clona con Git usando l'autenticazione HTTP basic.
Clona tramite SSH
Clona con Git usando una chiave SSH.
Creato da Opengist ⋅ Load: 4ms⋅