返回顶部
x

x-uname未知用户名

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
201
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

x-uname

x uname - 系统信息

增强版 uname 命令,提供彩色化、结构化的输出。


快速开始

bash

显示系统信息


x uname


功能特性

  • - 彩色输出:采用 ANSI 颜色的键值对格式(管道传输时自动禁用)
  • 结构化显示:主机名、操作系统名称、内核、硬件架构、版本
  • 跨平台支持:适用于 Linux、macOS、Windows(通过 cosmo)

输出字段

字段描述示例
hostname系统主机名myserver
osname
操作系统名称 | Linux、Darwin | | kernel | 内核版本 | 5.15.0-91-generic | | machine | 硬件架构 | x86_64、arm64 | | version | 完整操作系统版本字符串 | #101-Ubuntu SMP... |

使用示例

基本用法

bash

默认 - 彩色结构化输出


x uname

输出示例:

hostname : myserver

osname : Linux

kernel : 5.15.0-91-generic

machine : x86_64

version : #101-Ubuntu SMP Tue Nov 14 13:29:11 UTC 2023

管道用法

输出被管道传输时,颜色会自动禁用:

bash

管道输出中无颜色


x uname | cat

使用 awk 解析

x uname | awk -F: /kernel/{print $2}

与原生 uname 对比

命令输出风格
uname -a单行,空格分隔
x uname
多行,键值对格式 |

bash

原生 uname


$ uname -a
Linux myserver 5.15.0-91-generic #101-Ubuntu SMP ... x8664 x8664 x86_64 GNU/Linux

x uname

$ x uname hostname : myserver osname : Linux kernel : 5.15.0-91-generic machine : x86_64 version : #101-Ubuntu SMP Tue Nov 14 13:29:11 UTC 2023

相关资源

  • - 原生 uname(1) 手册页

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 x-uname-1776161222 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 x-uname-1776161222 技能

通过命令行安装

skillhub install x-uname-1776161222

下载

⬇ 下载 x-uname v1.0.0(免费)

文件大小: 1.54 KB | 发布时间: 2026-4-15 13:22

v1.0.0 最新 2026-4-15 13:22
x-uname 1.0.0

- Initial release.
- Provides a colorized, structured alternative to `uname`, displaying hostname, OS, kernel, architecture, and version.
- Supports auto-disabling of colors in non-interactive (piped) output.
- Cross-platform support on Linux, macOS, and Windows (via cosmo).
- Requires the x-cmd module for installation and operation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部