For setting the Alias the command i used : echo ‘alias up=“uptime”’ >> ~/.profile
For setting the PS1 the command i used : echo ‘export PS1=“[\d]\u@\h:\w$”’ >> ~/.profile
Do you have a link to the lab?
lab Link
Did you also run the alias in the shell as well as copying it to the profile?
echo ‘alias up=“uptime”’ >> ~/.profile
only used above commad and after that i run the “up” its showed command not found
You also need to run it in the current shell.
Thank you its worked