bash create variable from last part of variable after the last / character

后端 未结 0 1433
一生所求
一生所求 2021-01-06 07:58

I have strings that I want to extract to a variable the part after the last / character. Sample variables are: apps/test/wordpress/wordpressA apps/wordpress/wordpressA apps/

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