linux-tutorial/codes/demos/bash/statement/forDemo02.sh

7 lines
90 B
Bash
Raw Normal View History

2017-11-17 17:06:52 +08:00
#!/usr/bin/env bash
for FILE in $HOME/; do
mv "$FILE" "./"
chmod +x "./${FILE}"
done