gist.github.com
Reads the lines of the specified file into an array. The resulting array is in the dedicated variable, MAPFILE.
Best results in other decks
Last 12 symbols from UUID: uuidgen | tail -c 12 First 8 symbols from UUID: uuidgen | head -c 8
stackoverflow.com
for dir in /tmp/*/ do dir=${dir%*/} echo ${dir##*/} done