Search
 
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
Name
7+6 =