Example Scripts
You can also use scripts for repeating commands --looping
To do "math" in shell scripts, checkout expr and bc
-
for loop with simple listing
-
for loop listing number
-
for loop that sums
-
for loop that loops through arguments
- for loop with arguments
- for loop with date
- for loop with ls
-
until loop
-
while loop