|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
bash variables
i would like that i see when im in the shell.
that i see which server, which user, which path thanks |
|
#2
|
|||
|
|||
|
>that i see which server
$ hostname >which user $ logname >which path $ $PATH |
|
#3
|
|||
|
|||
|
bashprompt
sorry that i didn't ask in a understanding way.
i want to no how can i define variables of my bashprompt. i want to have something like: myserver:myuser wd>i hope you all understand what i mean. cheers |
|
#4
|
|||
|
|||
|
>i hope you all understand what i mean
That was my second guess. You need to cast the incantation:Code:
$ man bash The shell man pages tell you exactly how to set up your prompt. If I just went and told you, you'd miss out on a lot. ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > bash variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|