linux-tutorial/codes/demos/bash/statement/forDemo02.sh
2018-02-02 09:11:02 +08:00

7 lines
90 B
Bash

#!/usr/bin/env bash
for FILE in $HOME/; do
mv "$FILE" "./"
chmod +x "./${FILE}"
done