On Thu, Oct 03, 2002 at 09:33:04PM -0700, Robert Monical wrote:
>
> >Anyone else have any useful functions or aliases they'd like to
> >show off?
> I'm glad that you asked. I was looking for an FM to
> read.
If you like learning by example (heh, is there any other way?), go to
fresh
>
>Your account should have received working copies of both files from
>/etc/skel when created. If not, take a look in /etc/skel to see how the
>two files relate to each other.
It did. I just missed the .bashrc explanation when I scanned man bash.
Thanks
--
redhat-list mailing list
unsubscr
>Anyone else have any useful functions or aliases they'd like to show off?
I'm glad that you asked. I was looking for an FM to read.
Robert Monical
Reservation Technologies, Inc.
Technology Solutions for Destination Marketing Organizations
[EMAIL PROTECTED]
www.restek.com
--
r
On Thu, Oct 03, 2002 at 07:38:32PM -0400, Barry L. Kline wrote:
> "Barry L. Kline" wrote:
>
> function rpmgqa () {
> rpm -qa | grep "$1"
> }
I'm not sure what the accepted form is, but I use the syntax above for
multi-line functions and the one below for one-liners. I just find it
more co
On Thu, 3 Oct 2002, Robert Monical wrote:
> I also have some functions defined in that same .bash_profile ( shell
> functions are new to me).
Functions should be defined in .bashrc, not .bash_profile, since the
latter is only invoked during logins, while the former is onvoked whenever
you laun
At 07:12 PM 10/3/2002 -0400, you wrote:
>On Thu, Oct 03, 2002 at 02:46:21PM -0700, Robert Monical wrote:
> >
> > Some questions:
> > 1. Any idea why the functions are not active when opening a KDE terminal?
>
>man bash, and read the INVOCATION part about initialization files, login
>shells, and in
>
>function rpmgqa () {
> rpm -qa | grep "$1"
>}
Perfect. Unix gets better and better. Thanks
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
"Barry L. Kline" wrote:
>
> Robert Monical wrote:
> >
> but maybe I screwed up the configuration).
> > 3. Would someone help me learn how to use positional parameters in bash
> > functions.
> > something like (as you can tell, I'm not much of a shell guy).
> > function rpmqag { rpm -qa | grep #1
Robert Monical wrote:
>
but maybe I screwed up the configuration).
> 3. Would someone help me learn how to use positional parameters in bash
> functions.
> something like (as you can tell, I'm not much of a shell guy).
> function rpmqag { rpm -qa | grep #1 }
>
rpmqag () {rpm -qa | grep "$1"}
On Thu, Oct 03, 2002 at 02:46:21PM -0700, Robert Monical wrote:
>
> Some questions:
> 1. Any idea why the functions are not active when opening a KDE terminal?
man bash, and read the INVOCATION part about initialization files, login
shells, and interactive shells. It is quite possible to have pr
Moving from Solaris (csh) to Linux (bash).
I'm liking bash a lot.
RedHat 7.2.
I have some environment variables defined in .bash_profile.
When using KDE and opening the terminal from the control panel,
these are set as expected.
I also have some functions defined in that same .bash_profile ( s
11 matches
Mail list logo