Re: customize terminal prompt
If you want to display specific information in the prompt you can use the following escape sequences:
(more at this link)
\u -- user
\h -- hostname
\d -- date
\t -- time
\w -- current working directory
\W -- abbreviated working directory (just the current directory)
Right now your prompt is probably set to something like:
"\u@\h:\w$ " changing it to "\u@\h:\W$ " will save you some space and still display the current directory.
(eg, "user@host:/usr/share/doc/foo-bar$" would become "user@host:foo-bar$")
Here we are, trapped in the amber of the moment. There is no why.
Bookmarks