Are you using csh? ksh and bash both seem to "see" the changes to PS1 immediately. (i.e. without having to export them). What shell are you using?
ksh.
This works fine on the command line:
The problem I'm having is when I'm trying to see the control characters work. According to an earlier post, I should be able to use "\h" for short host name--in lieu of $(hostname -s); I should be able to use "\w" for working directory--in lieu of D='$PWD' and $D.
I know how to get the prompt I want. The control character (back-slash construct) was new information to me, and I was trying to get that to work. That is what I'm having difficulty with. According to the earlier post in this thread (if I read it right), I should be able to type this to get the same results as above:
... but as you see, instead I get the prompt "h:w>"
~Marcus
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both,... (2 Replies)
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
Hello experts,
when i get an output for df -k;
i get the below output
Filesystem kbytes used avail capacity Mounted on
/dev/vd/vdisk3 8241689 1973089 6186184 25% /
/proc 0 0 0 0% /proc
mnttab 0 ... (3 Replies)
Hello World ~
HW : SUN Fire V240
OS : Solaris 8
Error message prompts 'rmclomv ... SC login failure ...' on terminal.
and
Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S)
The System is in normal operation, though
In case of rain, Can... (1 Reply)
Hello everyone, I was trying to get the all logins of the users connected with awk, using "w" command,
I probe with this:
w|awk 'NR>2 {print $1}'
But I'm not sure...
is it ok?
Thank You so much! (2 Replies)
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Hi all,
I'm running Red Hat Enterprise Linux Server 6.3 Santiago.
I already installed the X Window package during installation and the graphical login display can be shown normally after installation.
Yesterday, I accessed remotely by GUI mode using VNC viewer and somehow it got crashed.... (1 Reply)