Skip to content

Instantly share code, notes, and snippets.

@danog
Last active November 12, 2017 20:29
Show Gist options
  • Save danog/ef6f19aec58f87239d86 to your computer and use it in GitHub Desktop.
Save danog/ef6f19aec58f87239d86 to your computer and use it in GitHub Desktop.
Just the name
#!/bin/sh
echo "This script prints just the script's name without its full path.
`basename $0`
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment