How to get part of path using linux commands

前端 未结 2 598
醉酒成梦
醉酒成梦 2021-01-12 16:18

Need get part of path, for example \"/home/server/folder1/rev.1111/bin\" Needed part is \"rev.1111\" I`ll try to parse by PWD & grep commands, but I am newbie on lin

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