vim ~/.bashrc
repeat() { n=$1 shift while [ $(( n -= 1 )) -ge 0 ] do "$@" done }
source ~/.bashrc
repeat 3 bonnie++ -u root -d /dev/hda
沒有留言:
張貼留言