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

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

瀏覽:1286
日期:2026-04-18
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....看更多