Bash脚本

清夏晚风

Bash脚本

Ubuntu 日常维护

1
apt update && apt upgrade -y && apt autoclean -y && apt autoremove -y

CentOS 日常维护

1
yum -y update

Git 仓库自动同步

1
git pull && git add . && git commit -m "自动同步 $(date "+%Y-%m-%d %H:%M:%S")" && git push
  • Title: Bash脚本
  • Author: 清夏晚风
  • Created at : 2026-01-13 16:48:23
  • Updated at : 2026-01-13 16:48:23
  • Link: https://blog.kimikkorow.eu.org/程序设计语言/Bash/Bash脚本/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Bash脚本