bash seq 1 255 code example
Example 1: for shell
$ for i in 1 2 3 4 5; do echo "counter: $i"; done
Example 2: for shell
$ for i in `grep -rli enabled=1`; do
sudo sed -i -e '$aclean_requirements_on_remove=1' $i;
done;
$ for i in 1 2 3 4 5; do echo "counter: $i"; done
$ for i in `grep -rli enabled=1`; do
sudo sed -i -e '$aclean_requirements_on_remove=1' $i;
done;