附查询历史操作记录文件shell
本shell是配合前一个记录用户历史操作记录shell的,代码如下:#!/bin/sh -# filename getrecorduser=time=while [ $# -gt 0 ]do case $1 in -u|--user) user=$2 shift 2 ;; -t|--time) time=$2 shift 2 ;; -*) echo "$0:$1 Wrong Options!" >&2 shift exit 0 ;; --) ...