📅  最后修改于: 2022-03-11 14:49:43.591000             🧑  作者: Mango
#!/bin/bash
until ["$input"= 'no']
do
echo "Enter the name of file to change permissions"
read filename
chmod 777 $filename
echo "$filename permissions has been changed"
echo "Would you like to change the permissions of another file?(yes or no)"
read input
done
echo "You typed: $input"