My Personal IT Infrastructure Knowledge Base
Pages
Home
Links
Sunday, January 10, 2016
Shell Prompt with Username and Hostname
export PS1="[${LOGNAME}@$(hostname)]$ "
In .profile >>
PS1="[${LOGNAME}@$(hostname)]$ "; export PS1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment