Could you please let me what i am doing Wrong
Hi @koushik_tu
The validation is a bit fussy here. You need to use double-quote "
on the prompt string for it to pass, though single quote '
should also pass.
The other thing is
PS1='[\d]\u@\h:\w$' >> ~/.profile
is not going to update the file. You have to echo to get the line appended
echo 'PS1="[\d]\u@\h:\w$"' >> ~/.profile