📄 sparc-solaris-hostid.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -