Re: Displaying PS1 from shell scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peramslist [peramslist@xxxxxxxxxxx] wrote:
> 
>    Hi,
> 
> 
> 
>    I'm  need to display the PS1 envronmental variable through a script on
>    my RH9 box. When I key in "echo $PS1" in the script I just get a blank
>    but when I key in the same at the prompt I get the result.
> 
>    I'd  appreciate  if you can let me know how I can display the variable
>    as I did a google search but in vain.

Which shell or language is your script written in?  If you're
going to ask a question, be sure to provide enough information
for us to understand the problem so we can figure out a solution.

-- 
Hardy Merrill
Red Hat, Inc.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux