11-22-2001
kapilv,
no, it doesn't work.
ex:
myunix% this where I am @, I have to type
pwd it would shows
myunix%pwd
/usr/work/phapvn
I'd like it shows something like this.
myunix%/usr/work/phapvn if I go back one dir then when I type.
cd ..
it would show
myunix%/usr/work
Hope you understand what I am asking and can help...
I worked with SGI there is something about set prompt. I am be able to make it works on SGI. just not very familiar with SUN.
Thanks again...
Last edited by phapvn; 11-23-2001 at 01:24 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I feel a little initimidated to ask this question, but ... where am I able to find the font path (Solaris 8)?
Bye Sysadv (1 Reply)
Discussion started by: sysadv
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am using Solaris 10.0 and defining PATH on command line by the following way:
#export PATH=/usr/sfw/bin....
...but after restart, Solaris forgets what I defined and I need to re-define the same PATH environment.
I want to to get defined my PATH environment during booting... (10 Replies)
Discussion started by: XNOR
10 Replies
3. Shell Programming and Scripting
Im trying to setup my profile to export the PATH at login
i had this in my .bashrc
export PATH=/usr/local/bin:/usr/bin/
however when i login and type echo $PATH i only get
bash-2.05$ echo $PATH
/usr/bin:
any ideas on what im doing wrong?
ive used linux for years but this is my... (1 Reply)
Discussion started by: recklessop
1 Replies
4. Solaris
Hi,
I've read forums far and wide trying to learn how to append to my PATH in Solaris 9 and every time I think I am close I discover my system is not configured the same. Its so frustrating because this all stems from a new server I am trying to setup identical to the production machine. (Of... (5 Replies)
Discussion started by: thoraddict
5 Replies
5. Solaris
Hi,
I use a zoned solaris box, 5.10 Generic_118833-33, E2900. It is used for both a database and application. The databases are installated on one zone and then there are separate live, development and test application zones.
There has been a requirement to install openldap on the... (1 Reply)
Discussion started by: jabberwocky
1 Replies
6. Solaris
I have been running some tests with solaris mpxio, dual-pathed to HDS SAN storage.
When I take a path offline, Solaris recognised this and a path is shown as offline in luxadm display <device>. However, it does not recover on reinstatement of the path until I run cfgadm -al.
Any ideas?
Phil (3 Replies)
Discussion started by: UKPhil
3 Replies
7. Solaris
Ok, this is the little annoying.
I can't set up $PATH variable for all non root users on Solaris 11 express.
oracle@DevelopBox01:/export/home/oracle$ cat /etc/default/login
........
# PATH sets the initial shell PATH variable
#... (6 Replies)
Discussion started by: solaris_user
6 Replies
8. Solaris
Hi,
I have an Oracle/Sun T3-2 Server with a duel SAS controller Fujitsu DX60 array attached.
I have 2 x SAS HBA's in the T3-2. One HBA cabled to CM0 and one HBA cabled to CM1 of the array.
The array is setup with one RAID GROUP and one VOLUME and one LUN
In Solaris I can see one device... (4 Replies)
Discussion started by: general_lee
4 Replies
9. Solaris
Hello,
I have one query
1) how to find in Solaris 10
a) Boot Path
b) Boot Disk name
Pls help. (4 Replies)
Discussion started by: saurabh84g
4 Replies
10. Solaris
Hello, Im fairly new to the UNIX world. Although I have taken Linux admin classes, it's not enough compared on what you do at your job. I just got a new job and they want me to learn Solaris, I got some good books and I started to read, I run the commands and try to follow some basics examples.... (7 Replies)
Discussion started by: sanz.rigo
7 Replies
pwd.h(3HEAD) Headers pwd.h(3HEAD)
NAME
pwd.h, pwd - password structure
SYNOPSIS
#include <pwd.h>
DESCRIPTION
The <pwd.h> header provides a definition for struct passwd, which includes the following members:
char *pw_name user's login name
uid_t pw_uid numerical user ID
gid_t pw_gid numerical group ID
char *pw_dir initial working di rectory
char *pw_shell program to use as shell
The gid_t and uid_t types are defined as described in <sys/types.h>. See types.h(3HEAD).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
getpwnam(3C), types.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 10 Sep 2004 pwd.h(3HEAD)