Let's say I have a matrix $A\in M_{n\times n}(\mathbb F)$, and it's given that $A$ is a nilpotent matrix. How Can I find a Jordan matrix that is similar to $A$?
because $A$ is nilpotent, I can find a basis $B$ s.t. $A$ represented by the basis $B$ is a Jordan matrix with eigenvalue $0$. How can I proceed from here?
If we're not required to find the basis $B$, then our job is a lot easier.
Note that $J$ is the Jordan form corresponding to $A$, then $\operatorname{rank}(A^k) = \operatorname{rank}(J^k)$. Moreover, for $k = 1,2,\dots,n$, $\operatorname{rank}(J^{k-1}) - \operatorname{rank}(J^k)$ is the number of Jordan blocks in $J$ with size at least $k$. Finally, note that $A$ is nilpotent, which means that $0$ is its only eigenvalue, which means that we only need to worry about blocks for the eigenvalue $0$.
Putting all this together, it suffices to determine $\operatorname{rank}(A^k)$ for all $k \leq m$, where $m$ is the first integer such that $A^m = 0$.
This process is described in Horn and Johnson's Matrix Analysis.