Query on find command

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

./MyWork/a.c
./MyWork/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

Answers


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


Need Your Help

Transposition tables?

algorithm artificial-intelligence computer-science

I'm using Minimax to make the computer play connect 6. I am also using Alpha-Beta pruning to speed up the algorithm.

NodeJS getting and passing variables

node.js variables asynchronous

I am having some trouble figuring out variables "passing" (I know it's not the right term, I'll explain), given the asynchronous nature of node.js.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.