Search Results

Search: Posts Made By: curiousmal
4,980
Posted By curiousmal
Thank you Don Cragun, the sed command with the...
Thank you Don Cragun, the sed command with the space word in it worked, thank you for clarifying my mistakes as well.

Have a great week.

Martin
4,980
Posted By curiousmal
First of all, thank you all for your replies and...
First of all, thank you all for your replies and suggestions, unfortunately, it's still not working.

So far per your suggestions, I have tried these:

sed...
4,980
Posted By curiousmal
sed command not working for me to change text in a file
UNIX gurus

I need your help with the following (The server is an AIX box).

I have a text file with the following information:

********************************************************
SOME...
Forum: Solaris 04-29-2015
15,745
Posted By curiousmal
MadeinGermany: When I typed your...
MadeinGermany:

When I typed your suggestion, I get :

HOSTNAME=kdsan004: is not an identifier

Also, if I type anything in ' ', I get the same stuff within the single quotes as a...
Forum: Solaris 04-29-2015
15,745
Posted By curiousmal
Vgersh99: I changed PS1 to: ...
Vgersh99:

I changed PS1 to:

PS1="[\$USER@\$(hostname):\$PWD] "
export PS1

and I got this:

[$USER@$(hostname):$PWD] pwd
/opt/apps/twsapps
[$USER@$(hostname):$PWD] cd TWA...
Forum: Solaris 04-29-2015
15,745
Posted By curiousmal
jlliagre: First of all, thank you for...
jlliagre:

First of all, thank you for your willingness to help. You're very kind.
So, I got this prompt: twsapps@kdsan004:/opt/apps/twsapps> by defining PS1 in the .profile as :...
Forum: Solaris 04-29-2015
15,745
Posted By curiousmal
jlliagre: Yes I am: ...
jlliagre: Yes I am:

twsapps@kdsan004:/opt/apps/twsapps> echo $SHELL
/bin/ksh

Any other thoughts ?

Thanks.
Forum: Solaris 04-27-2015
15,745
Posted By curiousmal
vgersh99: I'm using Korn shell, and your...
vgersh99: I'm using Korn shell, and your suggestion / command didn't work. Any ideas/code for the Korn shell (Solaris box).
SunOS kdsan004 5.10 Generic_150400-09 sun4u sparc SUNW,SPARC-Enterprise...
Forum: Solaris 04-27-2015
15,745
Posted By curiousmal
Help changing the PS1 prompt in Solaris
Hi, I need help changing PS1 in Solaris. I tried this:
MYPROMPT="> "

PS1=$LOGNAME@$HOSTNAME:${PWD}$MYPROMPT (NOT SURE WHY IT'S HIGHLIGHTED HERE)

export PS1

My problem is that $PWD is not...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy