|
|
发表于 2006-3-12 19:05:49
|
显示全部楼层
PS1 的变量是
\t - time
\d - date
\n - newline
\s - Shell name
\W - The current working directory
\w - The full path of the current working directory.
\u - The user name
\h - Hostname
\# - The command number of this command.
\! - The history number of the current command
自己定义吧! |
|