开发者

Query on find command

开发者 https://www.devze.com 2023-01-28 08:00 出处:网络
When i do a find inside a directory i get the output like ./MyWork/a.c ./MyW开发者_Go百科ork/b.c ./mtab

When i do a find inside a directory i get the output like

./MyWork/a.c
./MyW开发者_Go百科ork/b.c
./mtab

My question is how can use find command in such a way that my output will not show ./

my output should be

MyWork/a.c
MyWork/b.c
mtab

Thanks, LinuxPenseur


Add -printf "%P\n" at the end.

0

精彩评论

暂无评论...
验证码 换一张
取 消