Jay Hart escreveu:
> I use bash as my shell.
>
> I'm trying to set the bash prompt to display:
>
> ttyC1 [EMAIL PROTECTED]
>
> I've created a .bashrc in the users home directory (in this case root), and
> used the following line:
>
> PS1="\l [EMAIL PROTECTED] #"
>
> When I login as root, or any oth
On Feb 23 21:29:57, Jay Hart wrote:
> I use bash as my shell.
>
> I'm trying to set the bash prompt to display:
>
> ttyC1 [EMAIL PROTECTED]
>
> I've created a .bashrc in the users home directory (in this case root), and
> used the following line:
>
> PS1="\l [EMAIL PROTECTED] #"
>
> When I log
Only for fun:
$ cat /etc/profile
# sh/ksh initialization
# add the same config is ssh access case
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
PS1="[EMAIL PROTECTED] [\w] [\t]\n\$ "
HISTFILE=.ksh_history
HISTSIZE=500
[EMAIL PROTECTED]:/cvs
PKG_PATH=ftp://ftp.i
On Sun, Feb 24, 2008 at 04:53:35PM -0500, William Boshuck wrote:
> I have seen the following sort of remarks a couple of
> times this past week, yet I haven't seen them corrected.
> Nick Holland is such an excellent writer that, as often
> as not, you don't need to look at the sample code to
> foll
I will take your's and Nick's advice, and change root shell back to ksh.
Thanks,
Jay
> I have seen the following sort of remarks a couple of
> times this past week, yet I haven't seen them corrected.
> Nick Holland is such an excellent writer that, as often
> as not, you don't need to look at th
I have seen the following sort of remarks a couple of
times this past week, yet I haven't seen them corrected.
Nick Holland is such an excellent writer that, as often
as not, you don't need to look at the sample code to
follow his advice. That's not relevant in this case,
except insofar as I canno
scott wrote:
> version a... export PS1="\l [EMAIL PROTECTED] #"
>
> version b... export PS1="\l [EMAIL PROTECTED] \\$"
>
> "B" changes the "#" to be either "$" or "#" per user's non-root/root status.
I was just using the line they provided... it's up to them to read the manual.
-Ni
version a... export PS1="\l [EMAIL PROTECTED] #"
version b... export PS1="\l [EMAIL PROTECTED] \\$"
"B" changes the "#" to be either "$" or "#" per user's non-root/root status.
-Original Message-
From: Unix Fan <[EMAI
On Sat, Feb 23, 2008 at 10:35 PM, Jay Hart <[EMAIL PROTECTED]> wrote:
> I'll have to rescue the system if I can't login as root.
> If I lose my /usr/local filesystem, I've probably lost the drive too.
> I guess I have to ensure that I don't delete the bash package.
In UNIX, it is always recomme
$ cat .bash_profile
...
export PS1="\l [EMAIL PROTECTED] #"
$
Then log back in. this really is basic stuff.. ;)
(Use ksh, it's much better then bash... )
-Nix Fan.
On Feb 23, 2008, at 7:35 PM, Jay Hart wrote:
I've looked at or modified every file in roots and one users home
directory
without having the prompt displayed upon initial login. Once I
login, and run
'bash', the prompt will be displayed as I set it. This leads me to
believe
that I have an i
> On Feb 23, 2008, at 6:29 PM, Jay Hart wrote:
>
>> I use bash as my shell.
>>
>> I'm trying to set the bash prompt to display:
>>
>> ttyC1 [EMAIL PROTECTED]
>>
>> I've created a .bashrc in the users home directory (in this case
>> root), and
>> used the following line:
>>
>> PS1="\l [EMAIL PROTECT
On Feb 23, 2008, at 6:29 PM, Jay Hart wrote:
I use bash as my shell.
I'm trying to set the bash prompt to display:
ttyC1 [EMAIL PROTECTED]
I've created a .bashrc in the users home directory (in this case
root), and
used the following line:
PS1="\l [EMAIL PROTECTED] #"
So, what happens w
13 matches
Mail list logo