1 Answer
- Newest
- Most votes
- Most comments
0
You can define a bash array like this:
- folders=("/path1/file1" "/path2/file2" "/path3/file3" )
- for value in ${folders[@]};
do
echo $value;
done
- echo "run the next command"
answered 3 years ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago