随笔分类 -  Shell

摘要:#!/bin/bash # system info shell exec 2>/dev/null tempfile1=$(mktemp -t file.XXXXXX) function cpuinfo() { cat /proc/cpuinfo &>$tempfile1 dialog --textbox $tempfile1 40 80 } function meminfo() { cat /pr 阅读全文
posted @ 2019-08-15 16:51 晴的blog 阅读(248) 评论(0) 推荐(0)