|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Environmental variable
i want to set environmental variables in solaris and redhat. it should show the current directory and the default shell should be bourne shell. along with it should show the hostname.. like this Code:
hostname{/home/vipin/data}# ifconfigThanks in advanced.
Last edited by Scrutinizer; 04-10-2012 at 04:13 AM.. |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Check out the PROMPTING section of the man page,
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .local hostname available as an environmental variable? | gentinphilly | OS X (Apple) | 3 | 09-22-2011 12:29 PM |
| How to get the value of a variable which is having another value in environmental script? | dinesh1985 | Shell Programming and Scripting | 4 | 07-23-2010 01:40 PM |
| setting ksh environmental variable | mefquik | Shell Programming and Scripting | 2 | 03-21-2009 12:51 PM |
| Environmental Variable | janemary.a | Shell Programming and Scripting | 2 | 05-15-2007 01:46 AM |
| Set Oracle Environmental Variable !! | uuser | Shell Programming and Scripting | 4 | 02-22-2006 01:46 PM |
|
|