Tips and Tricks
Keep all tips and tricks learned in one place.
Friday, December 9, 2011
How to get the fine name from a start path
s="/users/home/test.txt"
echo ${s##*/}
RESULT :: text.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment