DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux strip foldder name from path
FILE="/home/vivek/lighttpd.tar.gz" basename "$FILE" f="$(basename -- $FILE)" echo "$f"
Source by www.cyberciti.biz #
PREVIOUS
NEXT
Tagged:
#linux
#strip
#foldder
#path
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit