Re: Questions about current path



gmax2006 wrote:
Hi,

What is the equivalent Linux command for MSDOS' prompt $p$g command?
Can I make it my default shell prompt?

Thank you,
Max


If that is really what you want...

Add the following line to ~/.bashrc

PS1="\w>"

To try it issue (remembering $ is the normal end of the Linux user prompt):

$ export PS1="\w>"

Ken
.



Relevant Pages

  • Re: Questions about current path
    ... What is the equivalent Linux command for MSDOS' prompt $p$g command? ... Can I make it my default shell prompt? ...
    (linux.redhat)
  • Re: fsck on sco 5.0.5 open server. where is it?
    ... Normally, after answering "no" to that question, you would get a prompt ... I suppose it is _possible_ that you did actually get to a shell prompt ... may beep when you hit ^G; it may beep when you hit return and it acts on ... Please give exact output when you report an error message. ...
    (comp.unix.sco.misc)
  • Re: Questions about current path
    ... What is the equivalent Linux command for MSDOS' prompt $p$g command? ... Can I make it my default shell prompt? ... My DOS knowledge is very rusty. ...
    (linux.redhat)
  • Re: Bootable & Writable USB Pen Drive with MSDOS?
    ... spidey wrote: ... > So what I want is a bootable & writable USB Pen Drive with command ... > prompt only, and it may be MSDOS or XP, if possible. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: md5sum
    ... > a shell prompt the same as a command prompt in Windows? ... Fedora GNU/Linux Core 2 kernel 2.6.8-1.521smp ...
    (Fedora)