linux操作系统习题(求答案)

2025-03-01 20:18:07
推荐回答(1个)
回答1:

echo "1:display all the users login currently"
echo "2:get help on a particular command"
echo "please you choose a num"
read num
if test $num -eq 2
then
echo "please input the command that you want to know about"
read chr
fi
case $num in
1) who;;
2) man $chr;;

esac