systype
来自「Advanced Bash− Scripting Guide An 」· 代码 · 共 29 行
TXT
29 行
#!/bin/csh -f## Sript name: systype# Example: 9.91## Program to determine the type of system you are on.#echo "Your system type is: "set release = (`uname -r`)switch (`uname -s`)case SunOS: switch ("$release") case 4.*: echo "SunOS $release" breaksw case [56].*: echo "Solaris $release" breaksw endsw breakswcase HP*: echo HP-UX breakswcase Linux: echo Linux breakswendsw
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?