color ssh/sftp -
Reindl Harald
h.reindl at thelounge.net
Wed Jan 23 13:35:23 UTC 2013
Am 23.01.2013 14:24, schrieb Bob Goodwin - Zuni:
> On 01/23/2013 07:50 AM, Reindl Harald wrote:
>>
>> Am 23.01.2013 13:43, schrieb Bob Goodwin - Zuni:
>>> Is there a scheme for changing terminal background color
>>> automatically for ssh? It would be convenient to have a warning that
>>> I was typing a command into other than this computer. I try to keep
>>> track of where I am but don't always which can lead to confusion or
>>> worse.
>>
>> [root at srv-rhsoft:~]$ cat /root/.bashrc
>> # .bashrc
>> PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]
>>
>> and the command prompt will be red
>
>
> This runs but I see no color change?
>
> # .bash
> # /home/bobg/sshcolor
>
>
> PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]"
what is .bash and /home/bobg/sshcolor??
.bashrc of whatever user as shown
the "[root at srv-rhsoft:~]$" aka promt is red
not a background-color change which is not possible AFAIk and unuseable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130123/759eff1d/attachment.sig>
More information about the users
mailing list