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 ( shell 
functions are new to me).
For example:
   function up {  cd .. ; pwd ; ll ; }
These are not defined when I open the terminal window.
They are defined after I do a
# source .bash_profile

I have been playing around all week on several systems (this is Linux week).
I had a system that was running Gnome that I reinstalled with KDE. IIRC, 
this system
did not have this problem with the default Gnome terminal.

All of these systems are registered and up2dated. I am really committed to 
Linux now.
Will eventually be moving a couple of dozen systems from Win2k/Soloaris i86 
to Linux.

Some questions:
1. Any idea why the functions are not active when opening a KDE terminal?
2. I have been having some odd problems in KDE with Konquerer.
Should I give Gnome another try? (I had a weird problem in Gnome as well,
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 }

TIA





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to