We address three questions posed by Bibak \cite{KB20}, and generalize some results of Bibak, Lehmer and K G Ramanathan on solutions of linear congruences ∑i=1kaixi≡b\Modn. In particular, we obtain explicit expressions for the number of solutions where xi's are squares modulo n. In addition, we obtain expressions for the number of solutions with order restrictions x1≥⋯≥xk or, with strict order restrictions x1>⋯>xk in some special cases. In these results, the expressions for the number of solutions involve Ramanujan sums and are obtained using their properties.