sparc-solaris-hostid.sh
来自「Util-linux 软件包包含许多工具。其中比较重要的是加载、卸载、格式化、分」· Shell 代码 · 共 14 行
SH
14 行
#!/bin/sh# This script reproduces the output of the Solaris hostid program.# It might be put in /usr/bin/hostid or so.# Note that the hostid program does not have any known uses# and does not exist on other architectures.# Copyright 1999 Peter Jones, <pjones@redhat.com> . # GPL and all that good stuff apply.(idprom=`cat /proc/openprom/idprom`echo $idprom|dd bs=1 skip=2 count=2echo $idprom|dd bs=1 skip=27 count=6echo) 2>/dev/null
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?