Is it true that in equation $Ax=b$, $A$ is a square matrix of $n\times n$, is having rank $n$, then augmented matrix $[A|b]$ will always have rank $n$?
$b$ is a column vector with non-zero values. $x$ is a column vector of $n$ variables.
If not then please provide an example.
Yes since we can't have more than $n$ linearly independent vectors the maximum rank for the augmented matrix is $n$.
More in general for a m-by-n matrix we have that rank $\le \max\{m,n\}$.