02 2025 档案

摘要:环境介绍】 操作系统:Windows Server 2019 Standard,64位操作系统 PowerShell版本:PowerShell 1.0 脚本位置:"F:\Scripts\BackupScript.ps1" 启动目录:"C:\Windows\System32\WindowsPowerS 阅读全文
posted @ 2025-02-27 10:07 梦徒 阅读(32) 评论(0) 推荐(0) 编辑
摘要:Windows2019配置OpenSSH服务 适用于 Windows Server 2019、Windows 10、Windows Server 2022 OpenSSH 是一款用于远程登录的连接工具,它使用 SSH 协议。 它会加密客户端与服务器之间的所有流量,从而遏止窃听、连接劫持和其他攻击。 阅读全文
posted @ 2025-02-21 15:00 梦徒 阅读(39) 评论(0) 推荐(0) 编辑
摘要:1、结合 du 和 sort -h(人类可读格式) 统计文件大小(自动转换单位,如KB/MB/GB)并排序 # find /Nas_Disk -type f -exec du -h {} \; | sort -hr du -h:以人类可读格式(如 4K、1M)显示文件大小。 sort -hr:按人类 阅读全文
posted @ 2025-02-08 10:53 梦徒 阅读(28) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示