From: Melvin on
Hi,

In my terminal, the command prompt doesn't show its present
directory,i.e. the only prompt which comes irrepective of wherever I
am is

user(a)lin1-100>

Is there any way I can appear the current directory also appear along
with this prompt like

user(a)lin1-100 /proj/cpp/sort/>

Thanks
Unix baby
From: Bit Twister on
On Tue, 4 May 2010 21:47:49 -0700 (PDT), Melvin wrote:

> Is there any way I can appear the current directory also appear along
> with this prompt like user(a)lin1-100 /proj/cpp/sort/>


Yes.

http://groups.google.com/groups/search?safe=off&q=%22export+PS1%22&btnG=Search&sitesearch=
From: Melvin on
On May 5, 10:01 am, Bit Twister <BitTwis...(a)mouse-potato.com> wrote:
> On Tue, 4 May 2010 21:47:49 -0700 (PDT), Melvin wrote:
> > Is there any way I can appear the current directory also appear along
> > with this prompt like  user(a)lin1-100 /proj/cpp/sort/>
>
> Yes.
>
> http://groups.google.com/groups/search?safe=off&q=%22export+PS1%22&bt....

How :-) :-) ?
From: Seebs on
On 2010-05-05, Melvin <whereismelvin(a)gmail.com> wrote:
> On May 5, 10:01�am, Bit Twister <BitTwis...(a)mouse-potato.com> wrote:
>> On Tue, 4 May 2010 21:47:49 -0700 (PDT), Melvin wrote:
>> > Is there any way I can appear the current directory also appear along
>> > with this prompt like �user(a)lin1-100 /proj/cpp/sort/>
>>
>> Yes.
>>
>> http://groups.google.com/groups/search?safe=off&q=%22export+PS1%22&bt...
>
> How :-) :-) ?

You were just told.

It's bad enough that you apparently didn't even try to search for this
FAQ. You were just given a link that would have gotten you to some of the
many answers that have been posted. But apparently this was not enough?

If you can't be bothered to read responses, why should anyone spend even
more time giving you even more details you aren't bothering to read?

-s
--
Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam(a)seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
From: Bit Twister on
On Tue, 4 May 2010 22:04:18 -0700 (PDT), Melvin wrote:
>>
>> http://groups.google.com/groups/search?safe=off&q=%22export+PS1%22&bt...
>
> How :-) :-) ?


click up a terminal, select a few "export PS1" commands and past in
a terminal, and hit two carriage returns.