DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
how to get last folder from path
fol=`basename $(pwd)` echo $fol
PREVIOUS
NEXT
Tagged:
#folder
#path
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit