On 04/13/2010 02:58 PM, Flavio Costa wrote: > What about that: for i in $(ls -1 /etc/rc.d); do alias rc-$i="/etc/rc,d/$i"; > done > That's simple and dynamic, just insert it on your .bashrc ou > /etc/bash.bashrc (global) > Yes, But that leaves me updating multiple .bashrc files (root, david, testacct1, etc..) on each box. If you just symlink them, they are there for all -- no editing involved. However, that does touch on a good point. Currently, I'm working on a modular .bashrc setup that does something like this in .bashrc: # . ~/scr/bash/brc-Arch.sh # . ~/scr/bash/brc-suse.sh # . ~/scr/bash/brc-ssh.sh where, for example, brc-Arch.sh would hold Arch specific functions and aliases. It's just a matter of free time needed to collect all the various .bashrc files I have from all the boxes and do it.... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com