Add README documentation and clean up project files
Remove unused example host file and Docker install script, rename hello.sh to follow naming convention, and add comprehensive README with project structure, commands, and usage examples
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# 示例脚本 - 查看主机基本信息
|
||||
echo "===== 主机信息 ====="
|
||||
echo "主机名: $(hostname)"
|
||||
echo "系统: $(cat /etc/os-release | grep PRETTY_NAME | cut -d= -f2 | tr -d '"')"
|
||||
echo "内核: $(uname -r)"
|
||||
echo "运行时间: $(uptime -p)"
|
||||
echo ""
|
||||
echo "===== 磁盘 ====="
|
||||
df -h /
|
||||
echo ""
|
||||
echo "===== 内存 ====="
|
||||
free -h
|
||||
Reference in New Issue
Block a user