cygwin: clear and path dir

Frank Merenda fmerenda@offmail.vetexchange.com
Wed Aug 30 20:24:00 GMT 2000


you can clear the display by typing the command "clear" at the prompt. 

you can display your current directory by putting the following line in your
.bashrc file:

PS1="\w-\$"
that will show your current directory, and a "-$" after,so you will end up
with a prompt that looks like this:

/dev/vex-$

hope that helps!

Thanks,
Frank Merenda | Senior Software Engineer
VetExchange   | http://www.VetExchange.com 
fmerenda@VetExchange.com

"Don't believe the hype." 

-- Public Enemy

> -----Original Message-----
> From: Xianzhong Liu [ mailto:liu@newmonics.com ]
> Sent: Wednesday, August 30, 2000 12:02 PM
> To: cygwin@sources.redhat.com
> Subject: cygwin: clear and path dir
> 
> 
> Hello,
> 
> I just wonder if I can clear the shell window after many lines
> accumulate and also if I can display the current directory path on the
> top of the shell.
> 
> Thanks.
> 
> 
> Jim
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list