Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [[ $# -ge 3]]; then
- echo "3 parametrs"
- for (( i=1; i -le $1; i++)); do
- touch $2$i
- chmod $3 $2 $i
- done
- else
- echo "not 3 parametrs"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement