I added a new user in my ubuntu system with
sudo useradd -d /home/peeyush -m peeyush sudo passwd peeyush
The above list of commands created a new user successfuly but the new user is unable to use the feature of bash completion properly. Using the bashrc file solved the problem.
This problems generally don't occur with traditional create user GUI. What is the reason behind this ?? Do they set the default shell for this user as bash ??