Bash Parameter Expansion - get part of directory path

后端 未结 0 1478
-上瘾入骨i
-上瘾入骨i 2020-12-10 23:48

Lets say I have this variable

FILE=/data/tenant/dummy/TEST/logs/2020-02-03_16.20-LSTRM.log

I\'m trying to get the name of the 4th sub directo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题