Mercurial > collection-shell
comparison Linux_network_config.sh @ 2:fa0865bcac46 default tip
add:增加READM说明文件
author | Nineveh <liny.jii@nnsui.com> |
---|---|
date | Mon, 07 Oct 2024 11:11:42 +0800 |
parents | dad2bfc2913c |
children |
comparison
equal
deleted
inserted
replaced
1:dad2bfc2913c | 2:fa0865bcac46 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 # | |
3 # 发布位置 | |
4 # https://logc.ninja/ovc/collection-shell | |
5 # https://hg.nnsui.com/collection-shell | |
2 | 6 |
3 # 检测系统版本 | 7 # 检测系统版本 |
4 OS_VERSION=$(awk -F= '/^NAME/{print $2}' /etc/os-release) | 8 OS_VERSION=$(awk -F= '/^NAME/{print $2}' /etc/os-release) |
5 echo "当前系统版本: $OS_VERSION" | 9 echo "当前系统版本: $OS_VERSION" |
6 | 10 |