BASH shell

2002-11-05 Thread Naydoe Maung
how would i go about fixing the shell so that it will always start with "bash"? thanks in advance. - i'm using FBSD 4.7 with KDE. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Re: BASH shell

2002-11-05 Thread Denis N. Peplin
On Tuesday 05 November 2002 12:47, Naydoe Maung wrote: > how would i go about fixing the shell so that it will always start with > "bash"? thanks in advance. > > - i'm using FBSD 4.7 with KDE. Read "Changing Your Shell" topic in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html

Re: BASH shell

2002-11-05 Thread xcas
On Tue, 5 Nov 2002, Naydoe Maung wrote: > how would i go about fixing the shell so that it will always start with > "bash"? thanks in advance. > > - i'm using FBSD 4.7 with KDE. > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the messag

Re: BASH shell

2002-11-06 Thread Marcio Merlone
[EMAIL PROTECTED] wrote: On Tue, 5 Nov 2002, Naydoe Maung wrote: how would i go about fixing the shell so that it will always start with "bash"? thanks in advance. if bash is installed chsh -s /usr/local/bin/bash else install it from /usr/ports/shells/bash2 or /usr/ports/shells/bash1 O

bash shell colors

2008-09-17 Thread Sam Fourman Jr.
Hello list, I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you have a config that you like and feel like posting it I will take a look at it. Sam Fourman Jr. Fourma

Why reccomend Bash shell?

2004-12-15 Thread Adam
In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Thanks, Adam ___ [EMAIL PRO

bash Shell Scripting Question

2012-09-19 Thread Martin McCormick
I just discovered a knowledge deficiency on my part that I can't seem to resolve. If one writes a loop of the following form: #!/usr/local/bin/bash ls -LF |grep \/ >/tmp/files while read dirname; do cd $dirname #Do whatever commands to be repeated in each directory. done < /tmp/f

Re: bash shell colors

2008-09-17 Thread Anselm Strauss
the exact codes for ANSI color escape sequences. Anselm On Sep 18, 2008, at 07:08 , Sam Fourman Jr. wrote: Hello list, I am looking to configure FreeBSD's Bash can anyone post a config file that would make FreeBSD's Bash shell color code like the default gentoo bash shell or if you h

Re: bash shell colors

2008-09-18 Thread Frank Shute
On Thu, Sep 18, 2008 at 08:56:09AM +0200, Anselm Strauss wrote: > > Hi, > > I use something like this (heavily inspired by Gentoo): > > if [[ ${EUID} == 0 ]] ; then > PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' > else > PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] '

Re: bash shell colors

2008-09-18 Thread Christopher Cowart
Sam Fourman Jr. wrote: > I am looking to configure FreeBSD's Bash > can anyone post a config file that would make FreeBSD's Bash shell > color code like the default gentoo bash shell > > or if you have a config that you like and feel like posting it I will > take

RE: Why reccomend Bash shell?

2004-12-15 Thread Subhro
ect: Why reccomend Bash shell? > > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the > default shell for users to bash shell. -p. 94 > > What are the Pro's/Con's of using bash as opposed to the other shells? > > Thanks, > A

Re: Why reccomend Bash shell?

2004-12-15 Thread Bill Campbell
On Wed, Dec 15, 2004, Adam wrote: >In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default >shell for users to bash shell. -p. 94 > >What are the Pro's/Con's of using bash as opposed to the other shells? That's largely a religious

Re: Why reccomend Bash shell?

2004-12-15 Thread Tim Aslat
In the immortal words of "Adam" <[EMAIL PROTECTED]>... > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the > default shell for users to bash shell. -p. 94 Because that is his shell of choice. I prefer to use TCSH for the same reason.

Re: Why reccomend Bash shell?

2004-12-15 Thread Kevin D. Kinsey, DaleCo, S.P.
Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Thanks, Adam I like a .30-06 for deer, antelope, etc, .762[mm] f

Re: Why reccomend Bash shell?

2004-12-15 Thread Nikolas Britton
Bill Campbell wrote: On Wed, Dec 15, 2004, Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? That's largely

Re: Why reccomend Bash shell?

2004-12-15 Thread Bill Campbell
On Wed, Dec 15, 2004, Nikolas Britton wrote: >Bill Campbell wrote: > >>On Wed, Dec 15, 2004, Adam wrote: >> >> >>>In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the >>>default shell for users to bash shell. -p. 94 &g

Re: Why reccomend Bash shell?

2004-12-16 Thread Nikolas Britton
Kevin D. Kinsey, DaleCo, S.P. wrote: I like a .30-06 for deer, antelope, etc, .762[mm] for terrorists, and a .340 Weatherby magnum for big game (cape buffalo, elephant, etc, where legal). The Weatherby is also great for moose and elk with a Nosler 210 gg. partition bullet and a good high-velocity p

Re: Why reccomend Bash shell?

2004-12-16 Thread Konrad Heuer
On Thu, 16 Dec 2004, Nikolas Britton wrote: > (...) > What are the main differences between tcsh and csh?, currently I use > csh, this is because it was the first shell that FreeBSD presented me > when I started using it and the fact that I didn't like bash (bash is > trash, hmm? lol) from linux

Re: Why reccomend Bash shell?

2004-12-16 Thread Matthew Seaman
Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? On point that no one has mentioned on this list yet is that it is a

Re: Why reccomend Bash shell?

2004-12-16 Thread Andrew P.
Matthew Seaman wrote: Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? On point that no one has mentioned on this list

Re: Why reccomend Bash shell?

2004-12-16 Thread Louis LeBlanc
On 12/16/04 11:11 AM, Matthew Seaman sat at the `puter and typed: > Adam wrote: > > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing > > the default shell for users to bash shell. -p. 94 > > > > What are the Pro's/Con's of us

Re: Why reccomend Bash shell?

2004-12-16 Thread Paul Schmehl
--On Thursday, December 16, 2004 11:11:03 AM + Matthew Seaman <[EMAIL PROTECTED]> wrote: On point that no one has mentioned on this list yet is that it is a good idea to have root's shell be entirely contained on the root partition of the system -- ie. not just the executable, but any shlibs i

Re: Why reccomend Bash shell?

2004-12-16 Thread Garance A Drosihn
At 9:11 PM -0600 12/15/04, Adam wrote: In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the default shell for users to bash shell. -p. 94 What are the Pro's/Con's of using bash as opposed to the other shells? Personal preferences, mostly. In my case, my

Re: Why reccomend Bash shell?

2004-12-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Paul Schmehl wrote: --On Thursday, December 16, 2004 11:11:03 AM + Matthew Seaman <[EMAIL PROTECTED]> wrote: On the other hand, I take the view that the less done by the super user the better, and discourage myself to use sudo(1) preferentially and to keep su(1) sessions as short as possible

Re: Why reccomend Bash shell?

2004-12-16 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Matthew Seaman thusly... > > That's why there is a 'toor' account -- you can use whatever shell you > like with that a/c and not fear mucking up important bits of the system. ^ ^ ^ ^ What does "a/c" mean? - Parv -- ___

Re: Why reccomend Bash shell?

2004-12-17 Thread Matthew Seaman
Parv wrote: in message <[EMAIL PROTECTED]>, wrote Matthew Seaman thusly... That's why there is a 'toor' account -- you can use whatever shell you like with that a/c and not fear mucking up important bits of the system. ^ ^ ^ ^ What does "a/c" mean? account

Re: Why reccomend Bash shell?

2004-12-16 Thread Jerry McAllister
> > In Greg Lehey's book "The Complete FreeBSD" he reccomends changing the > default shell for users to bash shell. -p. 94 > > What are the Pro's/Con's of using bash as opposed to the other shells? Because he likes it for some reason. He probab

Re: bash Shell Scripting Question

2012-09-19 Thread Mihai Donțu
On Wed, 19 Sep 2012 21:03:11 -0500 Martin McCormick wrote: > #!/usr/local/bin/bash > ls -LF |grep \/ >/tmp/files > while read dirname; do > cd $dirname > #Do whatever commands to be repeated in each directory. > done < /tmp/files > How about: ls -LF | grep \/ | while read dirname; do cd $

Re: bash Shell Scripting Question

2012-09-19 Thread Polytropon
On Wed, 19 Sep 2012 21:03:11 -0500, Martin McCormick wrote: > I just discovered a knowledge deficiency on my part that > I can't seem to resolve. > > If one writes a loop of the following form: > > #!/usr/local/bin/bash Just a sidenote: If you're not using bash-specific functionalit

Re: bash Shell Scripting Question

2012-09-20 Thread Martin McCormick
Many thanks! The for loop was what was needed. Polytropon writes: > Just a sidenote: If you're not using bash-specific functionality > and intend to make your script portable, use #!/bin/sh instead. I always start out that way for that very reason. I needed some random number functions and arithm

Re: bash Shell Scripting Question

2012-09-20 Thread Polytropon
On Thu, 20 Sep 2012 11:16:40 +0200, Jan Henrik Sylvester wrote: > On 09/20/2012 04:29, Polytropon wrote: > > Correct. You could use different approaches which may or may > > not fail due to the directory names you will encounter (like > > directories with spaces or special characters). > > > >

Re: Re: bash Shell Scripting Question

2012-09-20 Thread Jan Henrik Sylvester
On 09/20/2012 04:29, Polytropon wrote: Correct. You could use different approaches which may or may not fail due to the directory names you will encounter (like directories with spaces or special characters). #!/bin/sh for DIR in `ls -LF | grep \/`; do cd ${DIR}

how to add color text in bash shell

2003-07-28 Thread marlon corleone
is there any script or package in ports, that make a colorful bash. thanks __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list

Re: how to add color text in bash shell

2003-07-28 Thread Lowell Gilbert
marlon corleone <[EMAIL PROTECTED]> writes: > is there any script or package in ports, that make a > colorful bash. That depends on what you want to add color to. If you want a colorful prompt, you just add ANSI color sequences to your prompt definition. If you want ls output to be colored, just

Re: how to add color text in bash shell

2003-07-28 Thread Kjell Midtseter
On 28 Jul 2003, at 14:02, Lowell Gilbert wrote: > marlon corleone <[EMAIL PROTECTED]> writes: > > > is there any script or package in ports, that make a > > colorful bash. > > That depends on what you want to add color to. > If you want a colorful prompt, you just add ANSI > color sequences to