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 2 years ago
Relevant content
- asked 4 days ago
- asked 10 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 months ago