經安全檢測,此網站為安全網站,請放心前往原始網址!

Get current directory name (without full path) in Bash Script

How would I get just the current working directory name in a bash script, or even better, ... to print to stdout, quoted for use as shell input # ...useful to make hidden characters readable.

stackoverflow.com

網址安全性掃描由 google 提供