921
edits
| Line 31: | Line 31: | ||
Begin and end underlined print | Begin and end underlined print | ||
%M | %M | ||
server name - | server name - murphy.redbrick.dcu.ie | ||
%m | %m | ||
The part of the hostname up to the first . - prodigy | The part of the hostname up to the first . - prodigy | ||
| Line 47: | Line 47: | ||
Including these in your command prompt exports allows you to have a clock on your command prompt which updates every time you press return, and you can see your current working directory to save you typing "pwd" every time you forget where you are. e.g. | Including these in your command prompt exports allows you to have a clock on your command prompt which updates every time you press return, and you can see your current working directory to save you typing "pwd" every time you forget where you are. e.g. | ||
receive@murphy (~) % export PS1="[%B%n%b @ %M]>" | |||
[ | [receive @ murphy]> export RPS1="[%* on %D]" | ||
[ | [receive @ murphy]> [12:00:00 on 02-05-15] | ||
== Adding colours to the command prompt == | == Adding colours to the command prompt == | ||