$ PS1="[\d \t \u@\h:\w ] $ " [Sat Jun 02 14:24:12 vivek@server:~ ] $
How to make my command prompt look like
Sat Jun 02 14:24:12 vivek@server:myDirectory!while "myDirectory!" is a customized string that only shows when im in my home directory. New to this!
Thanks & Regards
:)


Sign In
Create Account

Back to top









