Re: Set the prompt.

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

 



Scott Taylor said:
>
> Edward Parrilla said:
>>
>> PS1="{${HOSTNAME}"':${PWD}}'
>> export PS1
>
> Try:
>
> man bash

Look for PROMPTING
/PROMTING

> I get:
> PS1="\h:\W "

Sorry, that should be lower case 'W' "\h:\w " to get a full PWD with ~/ to
represent your home directory, but it gets very long that way.

--
Scott
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux