DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
directory current in bash
result=${PWD##*/} echo $result
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#directory
#current
#bash
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit