#!/bin/bash # using pattern matching if [[ $USER == r* ]] then echo "Hello $USER" else echo "Sorry, I do not know you" fi
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8