Skip to content

Instantly share code, notes, and snippets.

@remino
Created May 26, 2022 10:23
Show Gist options
  • Save remino/14a3564eb07a1a53af247550b28f5faa to your computer and use it in GitHub Desktop.
Save remino/14a3564eb07a1a53af247550b28f5faa to your computer and use it in GitHub Desktop.
Shell script: Get last item in array
for last; do true; done
echo $last
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment