NOTE: This site use JavaScript which appears to be turned off. Most content will be fine, but some things won't work.
#!/bin/bash CURRENT_DIR_NAME=$(basename "$PWD") echo $CURRENT_DIR_NAME
get-current-directory-name