11-28-2001
It seems you are using csh. In csh environment, you need to define your environment settings in.cshrc file. And use "setenv PS1 $pwd> " instead of "PS1="$pwd>"; export PS1" and run "source .cshrc" command after you edited the .cshrc file.
Good luck!
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(1) User Commands pwd(1)
NAME
pwd - return working directory name
SYNOPSIS
/usr/bin/pwd
DESCRIPTION
The pwd utility writes an absolute path name of the current working directory to standard output.
Both the Bourne shell, sh(1), and the Korn shell, ksh(1), also have a built-in pwd command.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of pwd: LANG, LC_ALL, LC_MESSAGES, and
NLSPATH.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
If an error is detected, output will not be written to standard output, a diagnostic message will be written to standard error, and the
exit status will not be 0.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |enabled |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
cd(1), ksh(1), sh(1), shell_builtins(1), attributes(5), environ(5), standards(5)
DIAGNOSTICS
``Cannot open ..'' and ``Read error in ..'' indicate possible file system trouble and should be referred to a UNIX system administrator.
NOTES
If you move the current directory or one above it, pwd may not give the correct response. Use the cd(1) command with a full path name to
correct this situation.
SunOS 5.10 28 Mar 1995 pwd(1)