Extract the last directory of a pwd output

后端 未结 4 723
难免孤独
难免孤独 2020-12-28 12:57

How do I extract the last directory of a pwd output? I don\'t want to use any knowledge of how many levels there are in the directory structure. If I wanted to use that, I c

4条回答
提交回复
热议问题